mercurial/match.py
changeset 24448 55c449345b10
parent 24447 d44d53bc9a1e
child 24452 7797fadac0e8
--- a/mercurial/match.py	Wed Nov 19 15:56:58 2014 -0800
+++ b/mercurial/match.py	Wed Oct 29 08:43:39 2014 -0700
@@ -171,6 +171,9 @@
         - optimization might be possible and necessary.'''
         return self._always
 
+    def isexact(self):
+        return self.matchfn == self.exact
+
 def exact(root, cwd, files):
     return match(root, cwd, files, exact=True)