Mercurial > public > mercurial-scm > evolve
diff hgext/evolve.py @ 956:b107f3549ec2
evolve: make exchange output compact in the old pushkey case too.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 02 Jun 2014 14:44:13 -0700 |
parents | 72670e282460 |
children | 2cde59f3cb5d |
line wrap: on
line diff
--- a/hgext/evolve.py Tue Jun 03 01:37:08 2014 -0700 +++ b/hgext/evolve.py Mon Jun 02 14:44:13 2014 -0700 @@ -2286,12 +2286,11 @@ repo.ui.progress('OBSEXC', None) else: rslts = [] - repo.ui.status("OBSEXC: pushing %i markers\n" % len(markers)) remotedata = _pushkeyescape(markers).items() totalbytes = sum(len(d) for k,d in remotedata) sentbytes = 0 - repo.ui.status("OBSEXC: sending %i pushkey payload (%i bytes)\n" - % (len(remotedata), totalbytes)) + repo.ui.status("OBSEXC: pushing %i markers in %i pushkey payload (%i bytes)\n" + % (len(markers), len(remotedata), totalbytes)) for key, data in remotedata: repo.ui.progress('OBSEXC', sentbytes, item=key, unit="bytes", total=totalbytes)