##// END OF EJS Templates
ancestor: filter out initial revisions lower than stoprev
Yuya Nishihara -
r39512:7eadc940 default
parent child Browse files
Show More
@@ -273,7 +273,7 class lazyancestors(object):
273
273
274 Result does not include the null revision."""
274 Result does not include the null revision."""
275 self._parentrevs = pfunc
275 self._parentrevs = pfunc
276 self._initrevs = revs
276 self._initrevs = revs = [r for r in revs if r >= stoprev]
277 self._stoprev = stoprev
277 self._stoprev = stoprev
278 self._inclusive = inclusive
278 self._inclusive = inclusive
279
279
@@ -20,5 +20,5 iteration: [13, 11, 8, 7]
20 membership: [11, 13]
20 membership: [11, 13]
21 iteration: [13, 11]
21 iteration: [13, 11]
22 % lazy ancestor set for [11, 13], stoprev = 12, inclusive = True
22 % lazy ancestor set for [11, 13], stoprev = 12, inclusive = True
23 membership: [11, 13]
23 membership: [13]
24 iteration: [13]
24 iteration: [13]
General Comments 0
You need to be logged in to leave comments. Login now