# HG changeset patch # User Pierre-Yves David # Date 1412969482 25200 # Node ID 5b635b44af14778357000b851b169525e483c152 # Parent efe5062145c19b10094c24f9f2ad1167d6725cad baseset: access `_set` directly for containment check The `.set()` method is going away. diff -r efe5062145c1 -r 5b635b44af14 mercurial/revset.py --- a/mercurial/revset.py Fri Oct 10 12:30:56 2014 -0700 +++ b/mercurial/revset.py Fri Oct 10 12:31:22 2014 -0700 @@ -2352,7 +2352,7 @@ @util.propertycache def __contains__(self): - return self.set().__contains__ + return self._set.__contains__ def __nonzero__(self): return bool(self._list)