##// END OF EJS Templates
revset: use parentsets.min in _children...
Pierre-Yves David -
r25567:f140d620 default
parent child Browse files
Show More
@@ -622,9 +622,7 b' def _children(repo, narrow, parentset):'
622 return baseset()
622 return baseset()
623 cs = set()
623 cs = set()
624 pr = repo.changelog.parentrevs
624 pr = repo.changelog.parentrevs
625 # XXX this should be 'parentset.min()' assuming 'parentset' is a smartset
625 minrev = parentset.min()
626 # (and if it is not, it should.)
627 minrev = min(parentset)
628 for r in narrow:
626 for r in narrow:
629 if r <= minrev:
627 if r <= minrev:
630 continue
628 continue
General Comments 0
You need to be logged in to leave comments. Login now