mercurial/match.py
changeset 33497 80e1331a7fe9
parent 33478 cf15c3cc304c
child 33582 44bc181b9835
--- a/mercurial/match.py	Tue Jul 11 10:46:35 2017 -0700
+++ b/mercurial/match.py	Tue Jul 11 10:46:55 2017 -0700
@@ -679,16 +679,6 @@
     def __repr__(self):
         return ('<unionmatcher matchers=%r>' % self._matchers)
 
-class negatematcher(basematcher):
-    def __init__(self, matcher):
-        self._matcher = matcher
-
-    def matchfn(self, f):
-        return not self._matcher(f)
-
-    def __repr__(self):
-        return ('<negatematcher matcher=%r>' % self._matcher)
-
 def patkind(pattern, default=None):
     '''If pattern is 'kind:pat' with a known kind, return kind.'''
     return _patsplit(pattern, default)[0]