~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-15 18:19:33 UTC
  • mfrom: (1756.1.7 log.perf.submit)
  • Revision ID: pqm@pqm.ubuntu.com-20060615181933-dbc6e26a736493e3
Add get_revisions to repositories

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
    for index, rev_id in cut_revs:
233
233
        rev_nos[rev_id] = index
234
234
 
 
235
    revisions = branch.repository.get_revisions([r for s, r, m, e in
 
236
                                                 merge_sorted_revisions])
 
237
 
235
238
    # now we just print all the revisions
236
 
    for sequence, rev_id, merge_depth, end_of_merge in merge_sorted_revisions:
237
 
        rev = branch.repository.get_revision(rev_id)
 
239
    for ((sequence, rev_id, merge_depth, end_of_merge), rev) in \
 
240
        zip(merge_sorted_revisions, revisions):
238
241
 
239
242
        if searchRE:
240
243
            if not searchRE.search(rev.message):