Mercurial > public > mercurial-scm > hg-stable
diff contrib/shrink-revlog.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 | c2d9ef43ff6c |
children | d6d0f1ed8ebb |