# HG changeset patch # User FUJIWARA Katsunori # Date 2016-05-25 16:57:34 # Node ID 28dc0030228a9d034fdb8870d79532772a7473ab # Parent 4d075bf287023e87d6f7a1f549a5cde80eb26a4d subrepo: make a message translatable This message has been overlooked by check-code, because it starts with non-alphabet character ('%'). This is also a part of preparation for making "missing _() in ui message" detection of check-code more exact. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -585,7 +585,7 @@ class abstractsubrepo(object): return 1 def revert(self, substate, *pats, **opts): - self.ui.warn('%s: reverting %s subrepos is unsupported\n' \ + self.ui.warn(_('%s: reverting %s subrepos is unsupported\n') \ % (substate[0], substate[2])) return []