Mercurial > hg-stable
changeset 22736:3439b66f506e
spanset: use base implementation for __and__
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 03 Oct 2014 00:30:58 -0500 |
parents | 38f0ab661b0f |
children | e03ece039b3a |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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),