changeset 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 dd83aafdb64a
children d4d2c567bb72
files mercurial/obsolete.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: