mercurial/branchmap.py
changeset 49300 227124098e14
parent 49203 f923bdd7477d
child 51282 9d3721552b6c
--- 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):