From: Fabian Groffen Date: Tue, 27 Feb 2007 16:55:23 +0000 (-0000) Subject: In contrast to CVS, SVN complains when a file is not there when you rm X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=751df2567a38059048043acc61a08ce0425dfc77;p=portage.git 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 --- 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: