comparison mercurial/node.py @ 39195:1e7a462cb946

node: correct hex representation of pseudo node ids
author Yuya Nishihara <yuya@tcha.org>
date Sat, 18 Aug 2018 10:06:56 +0900
parents b623c7b23695
children 57875cf423c9
comparison
equal deleted inserted replaced
39194:c62184c6299c 39195:1e7a462cb946
27 27
28 # Phony node value to stand-in for new files in some uses of 28 # Phony node value to stand-in for new files in some uses of
29 # manifests. 29 # manifests.
30 # In hex, this is '2121212121212121212121212121212121212121' 30 # In hex, this is '2121212121212121212121212121212121212121'
31 newnodeid = '!!!!!!!!!!!!!!!!!!!!' 31 newnodeid = '!!!!!!!!!!!!!!!!!!!!'
32 # In hex, this is '0000000000000000000000000000006164646564' 32 # In hex, this is '3030303030303030303030303030306164646564'
33 addednodeid = '000000000000000added' 33 addednodeid = '000000000000000added'
34 # In hex, this is '0000000000000000000000006d6f646966696564' 34 # In hex, this is '3030303030303030303030306d6f646966696564'
35 modifiednodeid = '000000000000modified' 35 modifiednodeid = '000000000000modified'
36 36
37 wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid} 37 wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid}
38 38
39 # pseudo identifiers for working directory 39 # pseudo identifiers for working directory