changeset 32575:37ea47a50875

match: remove override of prefix() from differencematcher It's exactly the same as basematcher.prefix().
author Yuya Nishihara <yuya@tcha.org>
date Sun, 28 May 2017 23:51:30 +0900
parents 3b569745af6c
children cf7c88986e9f
files mercurial/match.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/match.py	Sat May 27 18:52:46 2017 +0900
+++ b/mercurial/match.py	Sun May 28 23:51:30 2017 +0900
@@ -480,9 +480,6 @@
     def anypats(self):
         return self._m1.anypats() or self._m2.anypats()
 
-    def prefix(self):
-        return not self.always() and not self.isexact() and not self.anypats()
-
     def __repr__(self):
         return ('<differencematcher m1=%r, m2=%r>' % (self._m1, self._m2))