--- 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