~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

  • Committer: Aaron Bentley
  • Date: 2007-06-21 03:29:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2542.
  • Revision ID: aaron.bentley@utoronto.ca-20070621032939-kcnl1dmxsixygskb
Disable topological sorting of get_ancestry where sensible

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