Mercurial > hg
comparison mercurial/i18n.py @ 32557:3fdcc34c0aba
match: remove special-casing of always-matching patterns in patternmatcher
This moves the optimization for patterns that match everything to the
caller, so we can remove it from patternmatcher.
Note that we need to teach alwaysmatcher to use relative paths now in
cases like "hg files .." from inside mercurial/, because while it
still matches everything, paths should be printed relative to the
working directory.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 19 May 2017 13:16:15 -0700 |
parents | 2912b06905dc |
children | 75979c8d4572 |
comparison
equal
deleted
inserted
replaced
32556:5f08eca8f8d3 | 32557:3fdcc34c0aba |
---|