Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 13938:e44ebd2a142a
revset: optimize stringset when subset == entire repo
if range(len(repo)) is passed to stringset and x is a valid rev
(checked before) then x is guaranteed to be in subset, we can check
for that by comparing the lengths of the sets
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Fri, 15 Apr 2011 20:07:44 +0300 |
parents | 34f577007ffe |
children | ef1217a7f206 |
line wrap: on
line diff