diff hgext/evolve.py @ 907:c17ab719da56

merge with stable
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 22 Apr 2014 17:04:40 -0700
parents 98b5ac44a259 4f84b3307dc2
children 06100fbc05e5
line wrap: on
line diff
--- a/hgext/evolve.py	Tue Apr 22 17:15:05 2014 -0700
+++ b/hgext/evolve.py	Tue Apr 22 17:04:40 2014 -0700
@@ -808,7 +808,6 @@
                 'no support for evolution merge changesets yet',
                 hint="Redo the merge a use `hg prune` to obsolete the old one")
         destbookmarks = repo.nodebookmarks(dest.node())
-        cmdutil.duplicatecopies(repo, orig.node(), dest.node())
         nodesrc = orig.node()
         destphase = repo[nodesrc].phase()
         try:
@@ -817,6 +816,7 @@
             if r[-1]: #some conflict
                 raise util.Abort(
                         'unresolved merge conflicts (see hg help resolve)')
+            cmdutil.duplicatecopies(repo, orig.node(), dest.node())
             nodenew = rebase.concludenode(repo, orig.node(), dest.node(),
                                           node.nullid)
         except util.Abort, exc: