~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
def _get_ancestry(repository, progress, label, step, rev_history):
120
120
    progress.update('%s ancestry' % label, step, 5)
121
121
    if len(rev_history) > 0:
122
 
        ancestry = set(repository.get_ancestry(rev_history[-1]))
 
122
        ancestry = set(repository.get_ancestry(rev_history[-1],
 
123
                       topo_sorted=False))
123
124
    else:
124
125
        ancestry = set()
125
126
    return ancestry