D6011: convert: migrate to new method for getting copy source

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sun Feb 24 03:24:28 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1312afae2d51: convert: migrate to new method for getting copy source (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6011?vs=14199&id=14214

REVISION DETAIL
  https://phab.mercurial-scm.org/D6011

AFFECTED FILES
  hgext/convert/hg.py

CHANGE DETAILS

diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py
--- a/hgext/convert/hg.py
+++ b/hgext/convert/hg.py
@@ -557,7 +557,7 @@
             if name in self.ignored:
                 continue
             try:
-                copysource, _copynode = ctx.filectx(name).renamed()
+                copysource = ctx.filectx(name).copysource()
                 if copysource in self.ignored:
                     continue
                 # Ignore copy sources not in parent revisions



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list