mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
keyword: replace use of _filerev with _filenode
To be independent of rev numbers. Analogous to b558712637b8.
This commit is contained in:
parent
539d61b5dc
commit
81c2d303c5
@ -735,7 +735,7 @@ def reposetup(ui, repo):
|
||||
def kwfilectx_cmp(orig, self, fctx):
|
||||
# keyword affects data size, comparing wdir and filelog size does
|
||||
# not make sense
|
||||
if (fctx._filerev is None and
|
||||
if (fctx._filenode is None and
|
||||
(self._repo._encodefilterpats or
|
||||
kwt.match(fctx.path()) and 'l' not in fctx.flags() or
|
||||
self.size() - 4 == fctx.size()) or
|
||||
|
Loading…
Reference in New Issue
Block a user