[PATCH 0 of 4] small cleanups

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun Aug 23 08:32:28 CDT 2009


On Sat, Aug 22, 2009 at 08:39:41PM +0200, Nicolas Dumazet wrote:
> Hello -devel!
> 
> A serie of 4 (independent) patches; small cleanups and optimizations:
> 
> #1 util.canonpath: remove one unnecessary test
> #2 Do not use str.startswith or str.endswith for single characters
> #3 patch.reverse: remove an useless variable, and a redundant string access
> #4 templatefilters.indent: do not compute text.endswith('\n') several times

1 and 4 pushed to crew:
9386:eae98607b349
9387:20ed9909dbd9

thanks,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list