comparison mercurial/node.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 f574cc00831a
children b623c7b23695
comparison
equal deleted inserted replaced
37447:067e8d1178a2 37448:d7114f883505
28 # manifests. 28 # manifests.
29 newnodeid = '!' * 20 29 newnodeid = '!' * 20
30 addednodeid = ('0' * 15) + 'added' 30 addednodeid = ('0' * 15) + 'added'
31 modifiednodeid = ('0' * 12) + 'modified' 31 modifiednodeid = ('0' * 12) + 'modified'
32 32
33 wdirnodes = {newnodeid, addednodeid, modifiednodeid} 33 wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid}
34 34
35 # pseudo identifiers for working directory 35 # pseudo identifiers for working directory
36 # (they are experimental, so don't add too many dependencies on them) 36 # (they are experimental, so don't add too many dependencies on them)
37 wdirrev = 0x7fffffff 37 wdirrev = 0x7fffffff
38 wdirid = b"\xff" * 20 38 wdirid = b"\xff" * 20