From patchwork Sun Feb 24 08:24:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6017: fix: migrate to new method for getting copy info From: phabricator X-Patchwork-Id: 38901 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Sun, 24 Feb 2019 08:24:44 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGc3a249c2b6b3: fix: migrate to new method for getting copy info (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6017?vs=14205&id=14220 REVISION DETAIL https://phab.mercurial-scm.org/D6017 AFFECTED FILES hgext/fix.py CHANGE DETAILS To: martinvonz, #hg-reviewers Cc: mercurial-devel diff --git a/hgext/fix.py b/hgext/fix.py --- a/hgext/fix.py +++ b/hgext/fix.py @@ -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,