Mercurial > hg > evolve
changeset 885:85b3d54516a7
exchange: expose length of pushed markers
http wireprotocol will need it.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 10 Mar 2014 21:55:41 -0700 |
parents | 5cb2744a6d36 |
children | 7fe06f32d1ad |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -2115,12 +2115,12 @@ """hacky string io for progress""" @util.propertycache - def _length(self): + def length(self): return len(self.getvalue()) def read(self, size): self.ui.progress('OBSEXC', self.tell(), unit="bytes", - total=self._length) + total=self.length) return StringIO.read(self, size)