.hgignore in subfolders

Matt Mackall mpm at selenic.com
Tue Aug 11 17:50:44 UTC 2015


On Tue, 2015-08-11 at 11:06 +0000, Harry . wrote:
> Why is .hgignore in subfolders ignored (unless specifically included by the top-level .hgignore)?

Two reasons. First, there is a substantial cost to trying to open a file
in every directory on a large project. Second, we can build an optimized
regular expression matcher if we have all the data at the beginning, but
not if we load it incrementally.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list