[PATCH] faster directory walking

Bryan O'Sullivan bos at serpentine.com
Fri Aug 26 13:29:53 CDT 2005

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

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


More information about the Mercurial mailing list