comparison mercurial/subrepo.py @ 29243:28dc0030228a

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 26 May 2016 01:57:34 +0900
parents 92d37fb3f1aa
children 0d83ad967bf8
comparison
equal deleted inserted replaced
29242:4d075bf28702 29243:28dc0030228a
583 warnings.append(_("warning: removefiles not implemented (%s)") 583 warnings.append(_("warning: removefiles not implemented (%s)")
584 % self._path) 584 % self._path)
585 return 1 585 return 1
586 586
587 def revert(self, substate, *pats, **opts): 587 def revert(self, substate, *pats, **opts):
588 self.ui.warn('%s: reverting %s subrepos is unsupported\n' \ 588 self.ui.warn(_('%s: reverting %s subrepos is unsupported\n') \
589 % (substate[0], substate[2])) 589 % (substate[0], substate[2]))
590 return [] 590 return []
591 591
592 def shortid(self, revid): 592 def shortid(self, revid):
593 return revid 593 return revid