~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to branchhistory.py

  • Committer: Aaron Bentley
  • Date: 2006-02-01 03:37:33 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060201033733-df5441ce73162009
Got selftest passing with storage API

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
def iter_revisiondata(branch):
41
41
    """Iterate through revno, Revision pairs in the revision history"""
42
42
    for no, revision_id in enumerate(branch.revision_history()):
43
 
        yield no+1, branch.repository.get_revision(revision_id)
 
43
        yield no+1, branch.get_revision(revision_id)
44
44
 
45
45
def print_info(descriptor, start, end):
46
46
    """Print revision history"""