[PATCH 0 of 2] CPU chewing patch attempt 2

Eric Hopper hopper at omnifarious.org
Sun Sep 4 10:16:25 CDT 2005


This patch creates a class in util that buffers reads from an iterator
over strings.
Also added (for future use) is a class that creates an iterator over a
file that returns n bytes at a time from the file.
Lastly, localrepo was changed to use this new class when reading
changegroups form the local repository.
-------------- next part --------------
2 files changed, 74 insertions(+), 19 deletions(-)
mercurial/localrepo.py |   16 ---------
mercurial/util.py      |   77 +++++++++++++++++++++++++++++++++++++++++++++---


More information about the Mercurial mailing list