Mercurial > hg
comparison mercurial/hook.py @ 13200:6f011cf52f9a
avoid .split() in for loops and use tuples instead
split can be more readable for longer lists like the list in
dirstate.invalidate. As dirstate.invalidate is used in wlock() and therefoe
used heavily, I think it's worth avoiding a split there too.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Thu, 02 Dec 2010 03:43:06 +0100 |
parents | ecf7d6e0eef0 |
children | 1775382ff833 |
comparison
equal
deleted
inserted
replaced
13199:a38df1250945 | 13200:6f011cf52f9a |
---|