Including other .hgignore files via wildcards

Ross Goldberg ross.goldberg at gmail.com
Sun Jun 3 06:17:08 UTC 2018


I'd like to other .hgignore files via wildcards, like using:

include:hgignore//**/*.hgignore

to include all files whose name ends with .hgignore in hgignore/ or any of
its descendent directories.

Is this possible?

It doesn't seem to be possible, but maybe I'm missing something.

Would the Mercurial devs be open to modifications to enable this?

I don't know Python, but it appears that the code that handles this is in
the match function from match.py.

Would I modify the existing include: handling, or would I make a new prefix?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20180603/d55fe804/attachment.html>


More information about the Mercurial mailing list