diff --git a/mercurial/node.py b/mercurial/node.py --- a/mercurial/node.py +++ b/mercurial/node.py @@ -10,6 +10,11 @@ import binascii nullrev = -1 nullid = "\0" * 20 +# pseudo identifiers for working directory +# (they are experimental, so don't add too many dependencies on them) +wdirrev = 0x7fffffff +wdirid = "\xff" * 20 + # This ugly style has a noticeable effect in manifest parsing hex = binascii.hexlify bin = binascii.unhexlify