Mercurial > hg > mercurial-source
diff mercurial/revset.py @ 20716:fa1ac5faa7c4
revset: added __nonzero__ method to spanset class
Implemented it in a lazy way, just look for the first non-filtered revision
and return True if there's any revision at all.
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Fri, 14 Mar 2014 09:07:59 -0700 (2014-03-14) |
parents | 41e1064486f9 |
children | d7b7ec0459c6 |
line wrap: on
line diff