aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2008-02-05 20:57:03 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2008-02-05 20:57:03 +0000
commit970849f41b0370f1b225d53ee39a8fd3ed07eab3 (patch)
tree9a4cbaf0a91d8865396ce2ccc1638915b646172e
parent57c80e59a9f3b38c4c1dc00fd3e8001b5e2b4283 (diff)
downloadmgarepo-970849f41b0370f1b225d53ee39a8fd3ed07eab3.tar
mgarepo-970849f41b0370f1b225d53ee39a8fd3ed07eab3.tar.gz
mgarepo-970849f41b0370f1b225d53ee39a8fd3ed07eab3.tar.bz2
mgarepo-970849f41b0370f1b225d53ee39a8fd3ed07eab3.tar.xz
mgarepo-970849f41b0370f1b225d53ee39a8fd3ed07eab3.zip
Don't use --non-interactive with the commands "add", "revert" and "cleanup"
-rw-r--r--RepSys/svn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/RepSys/svn.py b/RepSys/svn.py
index 4b1e9da..7459033 100644
--- a/RepSys/svn.py
+++ b/RepSys/svn.py
@@ -19,7 +19,8 @@ class SVNLogEntry:
class SVN:
def _execsvn(self, *args, **kwargs):
- if not kwargs.get("show"):
+ localcmds = ("add", "revert", "cleanup")
+ if not kwargs.get("show") and args[0] not in localcmds:
args = list(args)
args.append("--non-interactive")
svn_command = config.get("global", "svn-command",