# HG changeset patch # User Pierre-Yves David # Date 1412314258 18000 # Node ID 3439b66f506ed173aef1701af163da205ef75a26 # Parent 38f0ab661b0f548176c61246fa08c8a0457341fa spanset: use base implementation for __and__ diff -r 38f0ab661b0f -r 3439b66f506e mercurial/revset.py --- a/mercurial/revset.py Fri Oct 03 00:39:57 2014 -0500 +++ b/mercurial/revset.py Fri Oct 03 00:30:58 2014 -0500 @@ -2919,10 +2919,6 @@ return True return False - def __and__(self, x): - return orderedlazyset(self, x.__contains__, - ascending=self.isascending()) - def __sub__(self, x): filterfunc = x.__contains__ return orderedlazyset(self, lambda r: not filterfunc(r),