diff -r 4554e2e965e2 -r 227124098e14 mercurial/branchmap.py --- a/mercurial/branchmap.py Tue May 31 02:47:22 2022 +0200 +++ b/mercurial/branchmap.py Tue May 31 03:06:05 2022 +0200 @@ -159,7 +159,7 @@ def _unknownnode(node): """raises ValueError when branchcache found a node which does not exists""" - raise ValueError('node %s does not exist' % pycompat.sysstr(hex(node))) + raise ValueError('node %s does not exist' % node.hex()) def _branchcachedesc(repo):