# HG changeset patch # User Martin von Zweigbergk # Date 1549927684 28800 # Node ID c3a249c2b6b30446dd13c9fe2891b658dfc38100 # Parent 322ce0bca19dd7e277a7042a9be0fa55dcca946d fix: migrate to new method for getting copy info Differential Revision: https://phab.mercurial-scm.org/D6017 diff -r 322ce0bca19d -r c3a249c2b6b3 hgext/fix.py --- 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,