Mercurial > hg
diff README @ 19655:1d07bf106c2a
addremove: don't do full walks
Full walks are only necessary when the caller needs the list of clean files.
addremove by definition doesn't need them.
With this patch and an extension that produces a subset of results for
dirstate.walk when full is False, on a repository with over 200,000 files, hg
addremove drops from 2.8 seconds to 0.5.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 04 Sep 2013 18:42:55 -0700 |
parents | df5ecb813426 |
children | 4b0fc75f9403 |