comparison hgeditor @ 18626:b114e41c4df3

addremove: don't audit the path for paths already in the dirstate Now that dirstate.walk returns None for paths under symlink directories, addremove doesn't need to validate each path it sees to look for files under symlinks. On a large repository this brings addremove from 6.3 seconds down to 3.65 (42%) since addremove no longer has to stat every directory of every file to determine if the file is inside a symlink directory. I put it through our benchmark and see no perf hit to any other commands.
author Durham Goode <durham@fb.com>
date Tue, 05 Feb 2013 14:36:19 -0800
parents 2b440bb8a66b
children 1aee2ab0f902
comparison
equal deleted inserted replaced
18625:2cbd27f4f3c4 18626:b114e41c4df3