hg status slow

Eric Bloodworth ergosys at gmail.com
Sat Sep 17 12:55:23 CDT 2005

On Sat, 2005-09-17 at 00:41 -0700, Bryan O'Sullivan wrote:
> On Fri, 2005-09-16 at 22:05 -0700, Bryan O'Sullivan wrote:
> > I'm not surprised by the former, but the latter does surprise me.
> Problem fixed; see my other mail.
> 	<b
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.  To be more concrete, I'm tracking my home directory in
Mercurial:  I ignore all files starting with ".", but I also track a few
files in .vim, and some other files starting with ".".  This way status
doesn't spew out a load of ignored configuration files.  Here
is .hgignore:


Using your patched hg (actually the tip of your repo), directories which
match in .hgignore cause files that I tracked in those directories to be
considered removed:

R .vim/_vimrc_common
R .vim/plugin/bufexplorer.vim

NOTE: In 0.6c, to add files that are matched by .hgignore was impossible
without editing it, adding the file, and then changing it back.  In 0.7,
this improved, so you can explicitly add files that are otherwise
ignored via .hgignore.  I think this is a much less confusing, and an

Now, if I hg add a new file in .vim, each such added file is considered

$ touch .vim/test_file
$ hg add .vim/test_file
$ hg status
R .vim/_vimrc_common
R .vim/plugin/bufexplorer.vim
R .vim/test_file

-- Eric

More information about the Mercurial mailing list