comparison README @ 22265:fe22d86a8992

purge: avoid full walks when directories aren't purged If match.traversedir is not None, we're forced to do full walks. However when we aren't purging directories we don't need to set match.traversedir to anything. This speeds up non-full walks such as the one hgwatchman makes possible. For mozilla-central with hgwatchman enabled, 'hg purge --files' goes from 0.88 seconds to 0.22.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 20 Aug 2014 15:07:25 -0700
parents df5ecb813426
children 4b0fc75f9403
comparison
equal deleted inserted replaced
22264:4bc1fd86e915 22265:fe22d86a8992