diff mercurial/statprof.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 bd872f64a8ba
children c5853c9a6545
line wrap: on
line diff