[PATCH 0 of 4] small cleanups

Nicolas Dumazet nicdumz at gmail.com
Sat Aug 22 18:39:41 UTC 2009


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

Thanks,
Nicolas.


More information about the Mercurial-devel mailing list