D6017: fix: migrate to new method for getting copy info
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sun Feb 24 08:24:44 UTC 2019
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
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,
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list