diff mercurial/branchmap.py @ 49308:227124098e14

py3: use `x.hex()` instead of `pycompat.sysstr(node.hex(x))`
author Manuel Jacob <me@manueljacob.de>
date Tue, 31 May 2022 03:06:05 +0200
parents f923bdd7477d
children 9d3721552b6c
line wrap: on
line diff
--- 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):