hg status slow

Bryan O'Sullivan bos at serpentine.com
Sun Sep 18 00:56:22 CDT 2005

On Sat, 2005-09-17 at 10:55 -0700, Eric Bloodworth wrote:

> Well, it is *much* faster.  However, it changes the behavior in a bad
> way, IMO.  I have some directories that are matched by .hgignore, but I
> also have some files in those directories which are tracked by
> mercurial.

Hmm.  What happens if you don't use this patched version, but use -X to
exclude that directory?

I don't think this will be difficult to fix.  Based on your description,
I think what's happening is that the dirstate walking code is filtering
the list of real directories it is walking, but not the manifest it is
comparing against.  The result is that a file shows up in the manifest,
but not in the (filtered) real filesystem, so it looks like it's been

I'll look at it tomorrow.  Thanks for trying it out.


More information about the Mercurial mailing list