comparison mercurial/bundle2.py @ 29851:ccd436f7db6d stable 3.9.1

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.
author Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
date Thu, 01 Sep 2016 13:16:55 -0500
parents 9a9629b9416c
children 2c302c654451
comparison
equal deleted inserted replaced
29850:0f90249a6547 29851:ccd436f7db6d
1469 1469
1470 @parthandler('output') 1470 @parthandler('output')
1471 def handleoutput(op, inpart): 1471 def handleoutput(op, inpart):
1472 """forward output captured on the server to the client""" 1472 """forward output captured on the server to the client"""
1473 for line in inpart.read().splitlines(): 1473 for line in inpart.read().splitlines():
1474 op.ui.status(('remote: %s\n' % line)) 1474 op.ui.status(_('remote: %s\n') % line)
1475 1475
1476 @parthandler('replycaps') 1476 @parthandler('replycaps')
1477 def handlereplycaps(op, inpart): 1477 def handlereplycaps(op, inpart):
1478 """Notify that a reply bundle should be created 1478 """Notify that a reply bundle should be created
1479 1479