hgext/rebase.py
changeset 13778 46c3043253fb
parent 13766 627e50e9e316
child 13856 0995eee8ffe4
--- a/hgext/rebase.py	Sun Mar 27 12:22:07 2011 +0200
+++ b/hgext/rebase.py	Sun Mar 27 13:34:20 2011 +0200
@@ -277,7 +277,7 @@
         if k in m1:
             if v in m1 or v in m2:
                 repo.dirstate.copy(v, k)
-                if v in m2 and v not in m1:
+                if v in m2 and v not in m1 and k in m2:
                     repo.dirstate.remove(v)
 
 def concludenode(repo, rev, p1, p2, commitmsg=None, extrafn=None):