~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to branchhistory.py

  • Committer: Aaron Bentley
  • Date: 2006-02-01 04:42:39 UTC
  • mfrom: (310 bzrtools)
  • mto: (147.4.30 trunk)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: aaron.bentley@utoronto.ca-20060201044239-7c17ea8d0a18eedb
Merge from bzrtools mainline

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.get_revision(revision_id)
 
43
        yield no+1, branch.repository.get_revision(revision_id)
44
44
 
45
45
def print_info(descriptor, start, end):
46
46
    """Print revision history"""