~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Aaron Bentley
  • Date: 2005-11-17 05:14:54 UTC
  • mto: (1185.65.14 storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051117051454-e9ac1dd13766b978
Moved get_ancestry to RevisionStorage

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
                excludes = set()
234
234
            else:
235
235
                # revno is 1 based, so -2 to get back 1 less.
236
 
                excludes = set(branch.get_ancestry(revision_history[revno - 2]))
 
236
                storage = branch.storage
 
237
                excludes = storage.get_ancestry(revision_history[revno - 2])
 
238
                excludes = set(excludes)
237
239
            pending = list(rev.parent_ids)
238
240
            while pending:
239
241
                rev_id = pending.pop()