comparison mercurial/ancestor.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 413b44003462
children bd872f64a8ba
comparison
equal deleted inserted replaced
32131:35a69efbf190 32132:6dea1701f170