aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/svn.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/svn.py')
-rw-r--r--MgaRepo/svn.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py
index aa74727..1bad552 100644
--- a/MgaRepo/svn.py
+++ b/MgaRepo/svn.py
@@ -23,12 +23,15 @@ class SVNLogEntry:
class SVN:
def _execsvn(self, *args, **kwargs):
- localcmds = ("add", "revert", "cleanup")
+ localcmds = ("add", "revert", "cleanup", "mv")
if not kwargs.get("show") and args[0] not in localcmds:
args = list(args)
args.append("--non-interactive")
else:
- kwargs["geterr"] = True
+ if args[0] == "mv":
+ kwargs["geterr"] = False
+ else:
+ kwargs["geterr"] = True
kwargs["cleanerr"] = True
if kwargs.get("xml"):
args.append("--xml")