changeset 41780:1312afae2d51

convert: migrate to new method for getting copy source Differential Revision: https://phab.mercurial-scm.org/D6011
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 27 Dec 2017 22:27:05 -0800
parents c7a843aa4b42
children 52d4cb162902
files hgext/convert/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/hg.py	Sun Mar 25 21:30:31 2018 -0700
+++ b/hgext/convert/hg.py	Wed Dec 27 22:27:05 2017 -0800
@@ -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