changeset 22504 | c425b22a7ca5 |
parent 22500 | 171015d3b30c |
parent 22503 | 300e07582e9b |
child 22508 | 2434c68d82a8 |
--- a/mercurial/revset.py Mon Sep 22 16:14:08 2014 -0500 +++ b/mercurial/revset.py Sat Sep 27 13:18:10 2014 -0500 @@ -2228,6 +2228,10 @@ self._set = set(self) return self._set + @util.propertycache + def __contains__(self): + return self.set().__contains__ + def __sub__(self, other): """Returns a new object with the substraction of the two collections.