Mercurial > hg-stable
changeset 22731:22c669f3a7f9
filteredset: use base implementation for __and__
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 03 Oct 2014 01:23:12 -0500 |
parents | aeacc2055f0d |
children | 52c81f2963fc |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Thu Oct 02 19:22:17 2014 -0500 +++ b/mercurial/revset.py Fri Oct 03 01:23:12 2014 -0500 @@ -2462,9 +2462,6 @@ return None return lambda: self._iterfilter(it()) - def __and__(self, x): - return filteredset(self, x.__contains__) - def __sub__(self, x): return filteredset(self, lambda r: r not in x)