avoiding scans of whole directory tree

Mohit Aron extproxy at gmail.com
Wed May 28 07:52:56 UTC 2008


On Wed, May 28, 2008 at 12:47 AM, Adrian Buehlmann <adrian at cadifra.com>
wrote:

> On 28.05.2008 09:34, Mohit Aron wrote:
> > Hello,
> >
> > commands like 'hg status' scan the full workspace to detect what's
> > changed.
>
> That's incorrect. See DirState on the wiki
>


How does that prevent a full namespace scan ? I understand that it saves
mercurial from actually having to read the data of all files. It does need
to read the metadata though - which is a killer if there are lots and lots
of files. Even worse if the workspace is on NFS.


- Mohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080528/4bd3e615/attachment-0001.html>


More information about the Mercurial mailing list