diff mercurial/commands.py @ 15777:12309c09d19a

cmdutil: simplify duplicatecopies
author Matt Mackall <mpm@selenic.com>
date Thu, 05 Jan 2012 20:35:10 -0600
parents 91eb4512edd0
children 713ee57f817b
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Jan 05 14:14:12 2012 -0600
+++ b/mercurial/commands.py	Thu Jan 05 20:35:10 2012 -0600
@@ -2627,7 +2627,7 @@
             repo.dirstate.setparents(current.node(), nullid)
             repo.dirstate.write()
             # fix up dirstate for copies and renames
-            cmdutil.duplicatecopies(repo, ctx.rev(), current.node(), nullid)
+            cmdutil.duplicatecopies(repo, ctx.rev(), current.node())
             # report any conflicts
             if stats and stats[3] > 0:
                 # write out state for --continue