Mercurial > public > mercurial-scm > hg
comparison mercurial/bundle2.py @ 24846:e79dd1c9753e stable
bundle2: issue remote output as "status" (issue4612)
Remote output should be silenced by --quiet. The issue was found while running
`test-largefiles-cache.t` so it will get tested once we switch bundle2 by
default.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 24 Apr 2015 00:46:48 +0100 |
parents | f9aa4cb8f2dd |
children | aff2aca3420e |
comparison
equal
deleted
inserted
replaced
24845:8133494accf1 | 24846:e79dd1c9753e |
---|---|
1169 | 1169 |
1170 @parthandler('output') | 1170 @parthandler('output') |
1171 def handleoutput(op, inpart): | 1171 def handleoutput(op, inpart): |
1172 """forward output captured on the server to the client""" | 1172 """forward output captured on the server to the client""" |
1173 for line in inpart.read().splitlines(): | 1173 for line in inpart.read().splitlines(): |
1174 op.ui.write(('remote: %s\n' % line)) | 1174 op.ui.status(('remote: %s\n' % line)) |
1175 | 1175 |
1176 @parthandler('replycaps') | 1176 @parthandler('replycaps') |
1177 def handlereplycaps(op, inpart): | 1177 def handlereplycaps(op, inpart): |
1178 """Notify that a reply bundle should be created | 1178 """Notify that a reply bundle should be created |
1179 | 1179 |