author | Lucas Moscovicz <lmoscovicz@fb.com> |
Tue, 11 Mar 2014 16:59:42 -0700 | |
changeset 20720 | 5f8400efca0b |
parent 20719 | cce8fbedc82a |
child 20721 | d642f176df52 |
--- a/mercurial/revset.py Thu Mar 13 17:15:21 2014 -0700 +++ b/mercurial/revset.py Tue Mar 11 16:59:42 2014 -0700 @@ -2331,6 +2331,13 @@ self._r2 = revs2 self._iter = None self._ascending = ascending + self._genlist = None + + @util.propertycache + def _list(self): + if not self._genlist: + self._genlist = baseset(self._iterator()) + return self._genlist def _iterator(self): if not self._iter: