From 751df2567a38059048043acc61a08ce0425dfc77 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 27 Feb 2007 16:55:23 +0000 Subject: [PATCH] In contrast to CVS, SVN complains when a file is not there when you rm it. Hence, we don't remove the file before calling svn rm, like we have to do for cvs. svn path=/main/branches/prefix/; revision=6091 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/repoman b/bin/repoman index 3d02f3dea..b97b8da53 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1791,15 +1791,15 @@ elif "--pretend" not in myoptions: if digest_files: digest_files.sort() if "--pretend" in myoptions: - print "(rm %s)" % " ".join(digest_files) if isCvs: + print "(rm %s)" % " ".join(digest_files) print "(cvs remove %s)" % " ".join(digest_files) elif isSvn: print "(svn remove %s)" % " ".join(digest_files) else: - for x in digest_files: - os.unlink(os.path.join(startdir, x)) if isCvs: + for x in digest_files: + os.unlink(os.path.join(startdir, x)) retval = spawn(["cvs", "remove"] + digest_files, env=os.environ) elif isSvn: -- 2.26.2