diff -r d6afa9c149c3 -r 59fa3890d40a mercurial/chgserver.py --- a/mercurial/chgserver.py Sun Dec 13 18:29:22 2020 -0800 +++ b/mercurial/chgserver.py Tue Dec 01 21:54:46 2020 +0100 @@ -54,13 +54,13 @@ getattr, setattr, ) +from .node import hex from . import ( commandserver, encoding, error, extensions, - node, pycompat, util, ) @@ -74,7 +74,7 @@ def _hashlist(items): """return sha1 hexdigest for a list""" - return node.hex(hashutil.sha1(stringutil.pprint(items)).digest()) + return hex(hashutil.sha1(stringutil.pprint(items)).digest()) # sensitive config sections affecting confighash