bundle2: localize handleoutput remote prompts stable 3.9.1
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Thu, 01 Sep 2016 13:16:55 -0500
branchstable
changeset 29851 ccd436f7db6d
parent 29850 0f90249a6547
child 29852 6069a90ed0d5
bundle2: localize handleoutput remote prompts Code archaeology suggests that there was no good reason for this not to be localized. 'remote: ' is already localized elsewhere.
mercurial/bundle2.py
--- a/mercurial/bundle2.py	Wed Aug 31 13:58:33 2016 -0300
+++ b/mercurial/bundle2.py	Thu Sep 01 13:16:55 2016 -0500
@@ -1471,7 +1471,7 @@
 def handleoutput(op, inpart):
     """forward output captured on the server to the client"""
     for line in inpart.read().splitlines():
-        op.ui.status(('remote: %s\n' % line))
+        op.ui.status(_('remote: %s\n') % line)
 
 @parthandler('replycaps')
 def handlereplycaps(op, inpart):