Mercurial > public > mercurial-scm > hg-stable
diff mercurial/copies.py @ 37448:d7114f883505
node: rename wdirnodes to clarify they are for manifest/filelogs
Differential Revision: https://phab.mercurial-scm.org/D2941
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 25 Mar 2018 18:31:22 +0900 |
parents | a4f02a17420d |
children | ee7b6fa52d9d |
line wrap: on
line diff
--- a/mercurial/copies.py Sun Mar 25 18:27:43 2018 +0900 +++ b/mercurial/copies.py Sun Mar 25 18:31:22 2018 +0900 @@ -280,7 +280,7 @@ ac = repo.changelog.ancestors(revs, inclusive=True) ctx._ancestrycontext = ac def makectx(f, n): - if n in node.wdirnodes: # in a working context? + if n in node.wdirfilenodeids: # in a working context? if ctx.rev() is None: return ctx.filectx(f) return repo[None][f]