comparison mercurial/util.py @ 47012:d55b71393907

node: replace nullid and friends with nodeconstants class The introduction of 256bit hashes require changes to nullid and other constant magic values. Start pushing them down from repository and revlog where sensible. Differential Revision: https://phab.mercurial-scm.org/D9465
author Joerg Sonnenberger <joerg@bec.de>
date Mon, 29 Mar 2021 01:52:06 +0200
parents 9c3e84569071
children bea4717415c0
comparison
equal deleted inserted replaced
46992:5fa019ceb499 47012:d55b71393907
32 import sys 32 import sys
33 import time 33 import time
34 import traceback 34 import traceback
35 import warnings 35 import warnings
36 36
37 from .node import hex
37 from .thirdparty import attr 38 from .thirdparty import attr
38 from .pycompat import ( 39 from .pycompat import (
39 delattr, 40 delattr,
40 getattr, 41 getattr,
41 open, 42 open,