##// 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 b' class lazyancestors(object):'
273 273
274 274 Result does not include the null revision."""
275 275 self._parentrevs = pfunc
276 self._initrevs = revs
276 self._initrevs = revs = [r for r in revs if r >= stoprev]
277 277 self._stoprev = stoprev
278 278 self._inclusive = inclusive
279 279
@@ -20,5 +20,5 b' iteration: [13, 11, 8, 7]'
20 20 membership: [11, 13]
21 21 iteration: [13, 11]
22 22 % lazy ancestor set for [11, 13], stoprev = 12, inclusive = True
23 membership: [11, 13]
23 membership: [13]
24 24 iteration: [13]
General Comments 0
You need to be logged in to leave comments. Login now