# HG changeset patch # User Martin von Zweigbergk # Date 1548107112 28800 # Node ID 9087513df412e4c0654e4b011081bf242c47a64d # Parent 75e753a26806336307dc5227fda11206459a31b5 context: delete mistaken comment about return value of renamed() The comment seems to think that the return value of renamed() is a tuple of source pathsx in the parents, but it's actually a pair of (rename source path, file nodeid). Differential Revision: https://phab.mercurial-scm.org/D5639 diff -r 75e753a26806 -r 9087513df412 mercurial/context.py --- a/mercurial/context.py Tue Jan 15 16:55:20 2019 -0800 +++ b/mercurial/context.py Mon Jan 21 13:45:12 2019 -0800 @@ -2178,8 +2178,6 @@ """ def getfilectx(repo, memctx, path): fctx = ctx[path] - # this is weird but apparently we only keep track of one parent - # (why not only store that instead of a tuple?) copied = fctx.renamed() if copied: copied = copied[0]