mercurial/obsolete.py
changeset 40164 fee616937ef3
parent 40082 a4d62ff9a86d
child 40255 4f1f024353ae
--- a/mercurial/obsolete.py	Fri Oct 12 06:39:32 2018 -0400
+++ b/mercurial/obsolete.py	Fri Oct 12 06:22:15 2018 -0400
@@ -599,7 +599,8 @@
             if len(succ) != 20:
                 raise ValueError(succ)
         if prec in succs:
-            raise ValueError(_('in-marker cycle with %s') % node.hex(prec))
+            raise ValueError(
+                pycompat.sysstr(_('in-marker cycle with %s') % node.hex(prec)))
 
         metadata = tuple(sorted(metadata.iteritems()))
         for k, v in metadata: