diff -r d44d53bc9a1e -r 55c449345b10 mercurial/match.py --- 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)