Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 23 Jul 2008 16:08:20 +0200] rev 6835
make mq and tags hardlink safe
The code didn't check for modes like "r+" or "rb+".
Many thanks to agriffis for noticing it.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:31 -0500] rev 6834
dirstate.walk: speed up calling match function
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:29 -0500] rev 6833
dirstate.walk: reduce sorting in step 3
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:25 -0500] rev 6832
dirstate.walk: inline imatch
This lets us carefully avoid calling ignore and match where possible
in the fast path.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:24 -0500] rev 6831
dirstate.walk: more cleanups
- group internal functions
- simplify imatch
- rename _join to join
- use nf in step 3
- use .hg in results
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:23 -0500] rev 6830
dirstate.walk: fold in _supported
- inline tests for regular or link files
- simplify bad type reporting
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:21 -0500] rev 6829
dirstate.walk: build a dict rather than yield
Since we're already building a seen dict, we might as well put our
results in it to go slightly faster.
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:20 -0500] rev 6828
dirstate.walk: minor cleanups
- add dirkind
- simplify loop structure
- avoid pconvert and join on directory entries (big speed bump)
- remove redundant seen set in step 3
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:19 -0500] rev 6827
dirstate.walk: push sorting up
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:18 -0500] rev 6826
dirstate.walk: pull directory scanning into top-level loop
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:17 -0500] rev 6825
dirstate.walk: unify match.dir logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:16 -0500] rev 6824
dirstate.walk: simplify .hg scan bisect logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:15 -0500] rev 6823
dirstate.walk: track normalized directory names
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:14 -0500] rev 6822
dirstate: simplify normalize logic
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:13 -0500] rev 6821
dirstate.walk: change names for dc and known
known -> seen
dc -> dmap
Matt Mackall <mpm@selenic.com> [Tue, 22 Jul 2008 13:03:10 -0500] rev 6820
dirstate.walk: fold findfiles into main walk loop