[PATCH] faster directory walking
Chris Mason
mason at suse.com
Fri Aug 26 13:35:17 CDT 2005
On Fri, 26 Aug 2005 11:29:53 -0700
Bryan O'Sullivan <bos at serpentine.com> wrote:
> On Fri, 2005-08-26 at 11:25 -0700, Bryan O'Sullivan wrote:
>
> > Also, the current walk code has a regression: if you give it an
> > exact name like foo, where foo is not in the dirstate, but is in
> > the ignore file, it gets ignored but should not be. This makes it
> > impossible to, for example, add an ignored file. Pattern matches
> > should still skip over such names.
>
> Hmm, I think I worded that in a confusing way. To clarify that last
> point:
>
> Consider a file (not a directory) named foo.
>
> hg add foo -> should always attempt to add foo
> hg add foo* -> should skip if fnmatch nixes it
Just to be sure, did my current patch add this regression or does it
already exist?
-chris
More information about the Mercurial
mailing list