aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RepSys/rpmutil.py3
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):