mercurial/patch.py
changeset 8396 d7a77ad9bcce
parent 8225 46293a0c7e9f
child 8461 88f317e7d280
--- a/mercurial/patch.py	Thu May 14 13:20:40 2009 -0500
+++ b/mercurial/patch.py	Thu May 14 13:20:40 2009 -0500
@@ -1236,6 +1236,7 @@
 
     if opts.git:
         copy, diverge = copies.copies(repo, ctx1, ctx2, repo[nullid])
+        copy = copy.copy()
         for k, v in copy.items():
             copy[v] = k