Mercurial > hg > mercurial-crew-with-dirclash
view .hgignore @ 4369:d7ad1e42a368
util._matcher: speed up regexp matching.
In 4babaa52badf, Benoit made a change that substantially slows matching
when a big .hgignore file is in play, because it calls into the regexp
matching engine potentially hundreds of times per file to be matched.
I've partly rolled back his change, so that we only call into the matcher
once per file, but preserved the ability to report a meaningful error
message if there's a syntax error in the regexp.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 24 Apr 2007 10:53:25 -0700 |
parents | 12d1475b48df |
children | e6cc4d4f5a81 |
line wrap: on
line source
syntax: glob *.elc *.orig *.rej *~ *.o *.so *.pyc *.swp *.prof tests/.coverage* tests/annotated tests/*.err build contrib/hgsh/hgsh dist doc/*.[0-9] doc/*.[0-9].gendoc.txt doc/*.[0-9].{x,ht}ml MANIFEST patches mercurial/__version__.py .DS_Store syntax: regexp ^\.pc/ Output/Mercurial-[0-9.]*.exe