hgext/evolve.py
changeset 1787 e553fc96447d
parent 1785 f22120b12715
parent 1786 b674277ea4ef
child 1790 d4ce86ac5024
--- a/hgext/evolve.py	Wed Jan 25 16:50:19 2017 +0100
+++ b/hgext/evolve.py	Wed Feb 01 15:02:59 2017 +0100
@@ -2688,7 +2688,7 @@
 
     # Filter copies
     copied = copies.pathcopies(target, ctx)
-    copied = dict((src, dst) for src, dst in copied.iteritems()
+    copied = dict((dst, src) for dst, src in copied.iteritems()
                   if dst in files)
     def filectxfn(repo, memctx, path, contentctx=ctx, redirect=newcontent):
         if path in redirect: