# HG changeset patch # User Yuya Nishihara # Date 1495983090 -32400 # Node ID 37ea47a50875231bf7378f4aa29d6d5386c23128 # Parent 3b569745af6ca0706b1c289cae49e431731cbd49 match: remove override of prefix() from differencematcher It's exactly the same as basematcher.prefix(). diff -r 3b569745af6c -r 37ea47a50875 mercurial/match.py --- 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 ('' % (self._m1, self._m2))