4471
4471
iterator = repo.iter_reverse_revision_history(start_revision)
4473
4473
#skip the last revision in the list
4476
4476
if (stop_index is not None and
4477
4477
len(partial_history_cache) > stop_index):
4479
4481
revision_id = iterator.next()
4480
4482
partial_history_cache.append(revision_id)