diff mercurial/obsolete.py @ 40255:4f1f024353ae

obsolete: don't translate internal error message AFAIK, it's caught only by "hg debugobsolete", so it's pretty much a programming error.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 12 Oct 2018 16:51:11 +0200
parents fee616937ef3
children 6e2a24550b7e
line wrap: on
line diff
--- a/mercurial/obsolete.py	Fri Oct 12 19:25:08 2018 +0200
+++ b/mercurial/obsolete.py	Fri Oct 12 16:51:11 2018 +0200
@@ -600,7 +600,7 @@
                 raise ValueError(succ)
         if prec in succs:
             raise ValueError(
-                pycompat.sysstr(_('in-marker cycle with %s') % node.hex(prec)))
+                r'in-marker cycle with %s' % pycompat.sysstr(node.hex(prec)))
 
         metadata = tuple(sorted(metadata.iteritems()))
         for k, v in metadata: