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
--- 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]