Mercurial > hg
diff mercurial/dispatch.py @ 32132:6dea1701f170
match: make subinclude construction lazy
The matcher subinclude functionality allows us to have .hgignore files that
include subdirectory hgignore files. Today it parses the entire repo at once,
even if we only need to test a file in one subdirectory. This patch makes the
subinclude tree creation lazy, which speeds up matcher creation significantly in
large repos with very large trees of ignore patterns.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 03 May 2017 10:30:57 -0700 |
parents | c3dcec6cbc1b |
children | 89153b0d4881 |