diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-05-04 18:02:43 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2007-05-04 18:02:43 +0000 |
commit | 411828bbd6fa8b204f1730db8e9d34190b708e58 (patch) | |
tree | 3034eb3833298f885a5e85a5b433f88b5b79b4f5 | |
parent | 5e5972ab96383c272af7fe01560a052fec8bacfa (diff) | |
download | mgarepo-411828bbd6fa8b204f1730db8e9d34190b708e58.tar mgarepo-411828bbd6fa8b204f1730db8e9d34190b708e58.tar.gz mgarepo-411828bbd6fa8b204f1730db8e9d34190b708e58.tar.bz2 mgarepo-411828bbd6fa8b204f1730db8e9d34190b708e58.tar.xz mgarepo-411828bbd6fa8b204f1730db8e9d34190b708e58.zip |
Run svn.info before svn.status in order to check if we're in a working
copy.
-rw-r--r-- | RepSys/rpmutil.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index a8d0b4a..37b1178 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -372,6 +372,9 @@ def sync(dryrun=False): topdir = os.pardir else: topdir = "" + # run svn info because svn st does not complain when topdir is not an + # working copy + svn.info(topdir or ".") specsdir = os.path.join(topdir, "SPECS/") sourcesdir = os.path.join(topdir, "SOURCES/") for path in (specsdir, sourcesdir): |