Mercurial > evolve
diff hgext/evolve.py @ 1037:bddee73b361e
evolve: add "absolescence" in front of markers in the message
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 08 Aug 2014 17:34:22 -0700 |
parents | 70de12b7721a |
children | 45c4739e85dc |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Aug 08 17:29:29 2014 -0700 +++ b/hgext/evolve.py Fri Aug 08 17:34:22 2014 -0700 @@ -2403,7 +2403,7 @@ _encodemarkersstream(obsdata, markers) obsdata.seek(0) obsdata.ui = repo.ui - obsexcmsg(repo.ui, "pushing %i markers (%i bytes)\n" + obsexcmsg(repo.ui, "pushing %i obsolescence markers (%i bytes)\n" % (len(markers), len(obsdata.getvalue())), True) bundler.newpart('EVOLVE:B2X:OBSMARKERV1', data=obsdata) @@ -2478,7 +2478,7 @@ _encodemarkersstream(obsdata, markers) obsdata.seek(0) obsdata.ui = repo.ui - obsexcmsg(repo.ui, "pushing %i markers (%i bytes)\n" + obsexcmsg(repo.ui, "pushing %i obsolescence markers (%i bytes)\n" % (len(markers), len(obsdata.getvalue())), True) bundler = bundle2.bundle20(pushop.ui, {}) @@ -2501,7 +2501,7 @@ _encodemarkersstream(obsdata, markers) obsdata.seek(0) obsdata.ui = repo.ui - obsexcmsg(repo.ui, "pushing %i markers (%i bytes)\n" + obsexcmsg(repo.ui, "pushing %i obsolescence markers (%i bytes)\n" % (len(markers), len(obsdata.getvalue())), True) remote.evoext_pushobsmarkers_0(obsdata) @@ -2511,7 +2511,7 @@ remotedata = _pushkeyescape(markers).items() totalbytes = sum(len(d) for k,d in remotedata) sentbytes = 0 - obsexcmsg(repo.ui, "pushing %i markers in %i pushkey payload (%i bytes)\n" + obsexcmsg(repo.ui, "pushing %i obsolescence markers in %i pushkey payload (%i bytes)\n" % (len(markers), len(remotedata), totalbytes), True) for key, data in remotedata: