Mercurial > public > mercurial-scm > hg-stable
diff contrib/lock-checker.py @ 18560:acf4a405e440
addremove: don't perform m.exact/rel until needed
Moves the m.exact and m.rel calls within the conditionals they are used in.
On a large repo this brings addremove from 7.1 seconds down to 6.3 (13%).
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 04 Feb 2013 14:10:09 -0800 |
parents | b8424c92ba2b |
children | 47d0843647d1 |