Skip to content
Snippets Groups Projects
Commit 7eadc940 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

ancestor: filter out initial revisions lower than stoprev

parent 431068d7
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@
Result does not include the null revision."""
self._parentrevs = pfunc
self._initrevs = revs
self._initrevs = revs = [r for r in revs if r >= stoprev]
self._stoprev = stoprev
self._inclusive = inclusive
......
......@@ -20,5 +20,5 @@
membership: [11, 13]
iteration: [13, 11]
% lazy ancestor set for [11, 13], stoprev = 12, inclusive = True
membership: [11, 13]
membership: [13]
iteration: [13]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment