# HG changeset patch # User Martin von Zweigbergk # Date 1514442425 28800 # Node ID 1312afae2d5134477d7968821dbd09c803c7156e # Parent c7a843aa4b423d7f357760d916d57ea6d89b9a44 convert: migrate to new method for getting copy source Differential Revision: https://phab.mercurial-scm.org/D6011 diff -r c7a843aa4b42 -r 1312afae2d51 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