avoiding scans of whole directory tree
Adrian Buehlmann
adrian at cadifra.com
Wed May 28 09:32:10 CDT 2008
On 28.05.2008 15:53, Jamie Webb wrote:
> On 2008-05-28 15:13:18 Adrian Buehlmann wrote:
>> On 28.05.2008 14:22, Jamie Webb wrote:
>>> I'm talking about a slightly different thing. In the absence of
>>> inotify, 'hg edit' might help if the manifest is truly huge. But hg
>>> is worse than that: it slows right down if the workspace is large,
>>> even if the manifest is small.
>> So, your use case is a large tree inside the working dir, of which
>> you want to track only a small number of files?
>>
>> And .hgignore doesn't help for this?
>
> Ignoring '.*' does indeed appear to work. But, why isn't it the
> default? That is, for 'hg commit', why does it bother looking at files
> that are not being tracked?
I haven't looked at the implementation. Did you check with the newest
version of Mercurial? Or even crew tip?
Discussing this on irc #mercurial might be a good idea (this thread
starts getting lengthy).
More information about the Mercurial
mailing list