/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-12-15 18:32:34 UTC
  • mto: This revision was merged to the branch mainline in revision 125.
  • Revision ID: abentley@panoramicfeedback.com-20061215183234-ci75l03h667tusii
Annotate showing uncommitted changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
            if len(revision) != 1:
179
179
                raise BzrCommandError("Only 1 revion may be specified.")
180
180
            revision_id = revision[0].in_history(branch).rev_id
 
181
            tree = branch.repository.revision_tree(revision_id)
181
182
        else:
182
183
            revision_id = None
 
184
            tree = wt
183
185
 
184
186
        window = GAnnotateWindow(all, plain)
185
187
        window.connect("destroy", lambda w: gtk.main_quit())
188
190
        window.show()
189
191
        branch.lock_read()
190
192
        try:
191
 
            window.annotate(branch, file_id, revision_id)
 
193
            window.annotate(tree, branch, file_id)
192
194
        finally:
193
195
            branch.unlock()
194
196
        window.jump_to_line(line)