diff -r 55a85a55f020 -r 12309c09d19a mercurial/commands.py --- 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