##// END OF EJS Templates
nodes: expand/comment the magic nodes so they are more easily searchable...
Kyle Lippincott -
r39178:b623c7b2 default
parent child Browse files
Show More
@@ -21,20 +21,25 b' def bin(s):'
21 21 raise TypeError(e)
22 22
23 23 nullrev = -1
24 # In hex, this is '0000000000000000000000000000000000000000'
24 25 nullid = b"\0" * 20
25 26 nullhex = hex(nullid)
26 27
27 28 # Phony node value to stand-in for new files in some uses of
28 29 # manifests.
29 newnodeid = '!' * 20
30 addednodeid = ('0' * 15) + 'added'
31 modifiednodeid = ('0' * 12) + 'modified'
30 # In hex, this is '2121212121212121212121212121212121212121'
31 newnodeid = '!!!!!!!!!!!!!!!!!!!!'
32 # In hex, this is '0000000000000000000000000000006164646564'
33 addednodeid = '000000000000000added'
34 # In hex, this is '0000000000000000000000006d6f646966696564'
35 modifiednodeid = '000000000000modified'
32 36
33 37 wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid}
34 38
35 39 # pseudo identifiers for working directory
36 40 # (they are experimental, so don't add too many dependencies on them)
37 41 wdirrev = 0x7fffffff
42 # In hex, this is 'ffffffffffffffffffffffffffffffffffffffff'
38 43 wdirid = b"\xff" * 20
39 44 wdirhex = hex(wdirid)
40 45
General Comments 0
You need to be logged in to leave comments. Login now