hgext/histedit.py
changeset 22901 722117c8e023
parent 22900 7bf82faba774
child 22904 baa3cfa03a83
--- a/hgext/histedit.py	Mon Oct 13 14:04:11 2014 -0500
+++ b/hgext/histedit.py	Mon Oct 13 14:33:13 2014 -0500
@@ -234,7 +234,7 @@
         repo.dirstate.endparentchange()
         repo.dirstate.write()
         # fix up dirstate for copies and renames
-        cmdutil.duplicatecopies(repo, ctx.rev(), ctx.p1().rev())
+        copies.duplicatecopies(repo, ctx.rev(), ctx.p1().rev())
     return stats
 
 def collapse(repo, first, last, commitopts):