hgext/fix.py
changeset 41786 c3a249c2b6b3
parent 41129 d8f5c615e811
child 41994 550a172a603b
--- a/hgext/fix.py	Sun Mar 25 22:07:35 2018 -0700
+++ b/hgext/fix.py	Mon Feb 11 15:28:04 2019 -0800
@@ -601,9 +601,7 @@
         if path not in ctx:
             return None
         fctx = ctx[path]
-        copied = fctx.renamed()
-        if copied:
-            copied = copied[0]
+        copied = fctx.copysource()
         return context.memfilectx(
             repo,
             memctx,