~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Martin Pool
  • Date: 2005-07-11 07:33:45 UTC
  • Revision ID: mbp@sourcefrog.net-20050711073345-177b10e674961bda
- merge John's code to give the tree root an explicit file id

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
        if last_revno:
185
185
            yield last_revno, last_revision, compare_trees(this_tree, last_tree, False)
186
186
 
 
187
        this_tree = EmptyTree(branch.get_root_id())
 
188
 
187
189
        last_revno = revno
188
190
        last_revision = this_revision
189
191
        last_tree = this_tree
212
214
    from diff import compare_trees
213
215
 
214
216
    last_revno = last_revision_id = last_tree = None
 
217
    prev_tree = EmptyTree(branch.get_root_id())
 
218
 
215
219
    for revno, revision_id in which_revs:
216
220
        this_tree = branch.revision_tree(revision_id)
217
221
        this_revision = branch.get_revision(revision_id)