[PATCH] move hgclient._eatlines to util

Matt Mackall mpm at selenic.com
Tue Aug 9 15:30:31 CDT 2011


On Tue, 2011-08-09 at 23:14 +0300, Idan Kamara wrote:
> # HG changeset patch
> # User Idan Kamara <idankk86 at gmail.com>
> # Date 1312920870 -10800
> # Node ID dea52d1d298573c16285e822ed6161f7e1154460
> # Parent  ecf36f339f6802afbc9db057afd2df84ec433e86
> move hgclient._eatlines to util
> 
> and use cStringIO for faster line iteration

Please send independent changes as independent patches, _especially_
when code movement is involved.

Also, I suspect your cStringIO claim above is not based on an actual
measurement.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list