##// END OF EJS Templates
match: introduce nevermatcher for when no ignore files are present...
match: introduce nevermatcher for when no ignore files are present 952017471f93 introduced a deterministic `__repr__` for ignores. However, it didn't account for when ignore was `util.never`. This broke fsmonitor's ignore change detection -- with an empty hgignore, it would kick in all the time. Introduce `nevermatcher` and switch to it. This neatly parallels `alwaysmatcher`.

File last commit:

r32512:0e8b0b9a default
r32600:e6ff007e default
Show More
parsers.py
10 lines | 318 B | text/x-python | PythonLexer
Yuya Nishihara
cffi: split modules from pure...
r32512 # parsers.py - Python implementation of parsers.c
#
# Copyright 2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import
from ..pure.parsers import *