# HG changeset patch # User Martin von Zweigbergk # Date 2019-01-21 21:45:12 # 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 --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -2178,8 +2178,6 @@ def memfilefromctx(ctx): """ 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]