mercurial/cmdutil.py
changeset 6566 30d3d531e11a
parent 6553 0bb76d168437
child 6575 e08e0367ba15
child 6651 7f0dd352fb4d
--- a/mercurial/cmdutil.py	Fri Apr 18 17:25:10 2008 +0200
+++ b/mercurial/cmdutil.py	Sat Apr 19 10:42:30 2008 +0200
@@ -395,7 +395,7 @@
                 repo.copy(origsrc, abstarget)
 
         if rename and not dryrun:
-            repo.remove([abssrc], True)
+            repo.remove([abssrc], not after)
 
     # pat: ossep
     # dest ossep