convert: migrate to new method for getting copy source
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 27 Dec 2017 22:27:05 -0800
changeset 41771 1312afae2d51
parent 41770 c7a843aa4b42
child 41772 52d4cb162902
convert: migrate to new method for getting copy source Differential Revision: https://phab.mercurial-scm.org/D6011
hgext/convert/hg.py
--- 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