obsolete: don't translate internal error message
authorYuya Nishihara <yuya@tcha.org>
Fri, 12 Oct 2018 16:51:11 +0200
changeset 40255 4f1f024353ae
parent 40254 dd83aafdb64a
child 40256 d4d2c567bb72
obsolete: don't translate internal error message AFAIK, it's caught only by "hg debugobsolete", so it's pretty much a programming error.
mercurial/obsolete.py
--- 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: