539
525
raise ValueError('invalid stop_rule %r' % stop_rule)
542
528
# If we started from a dotted revno, we want to consider it as a tip
543
529
# and don't want to yield revisions that are not part of its
544
530
# ancestry. Given the order guaranteed by the merge sort, we will see