664
670
depth_adjustment = merge_depth
666
672
if merge_depth < depth_adjustment:
667
677
depth_adjustment = merge_depth
668
678
merge_depth -= depth_adjustment
669
679
yield rev_id, '.'.join(map(str, revno)), merge_depth
672
683
def calculate_view_revisions(branch, start_revision, end_revision, direction,
673
684
specific_fileid, generate_merge_revisions):
674
685
"""Calculate the revisions to view.