/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 gdiff.py

  • Committer: Jelmer Vernooij
  • Date: 2006-06-06 17:46:40 UTC
  • Revision ID: jelmer@samba.org-20060606174640-c5fea453dcd65409
Support external repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
    @display_command
29
29
    def run(self, revision=None, file_list=None):
30
 
        bzrdir = BzrDir.open_containing(".")[0]
31
 
        repos = bzrdir.open_repository()
32
 
        branch = bzrdir.open_branch()
33
 
        tree2 = repos.revision_tree(branch.last_revision())
34
30
        tree1 = WorkingTree.open_containing(".")[0]
 
31
        branch = tree1.branch
 
32
        tree2 = tree1.branch.repository.revision_tree(branch.last_revision())
35
33
 
36
34
        from bzrlib.plugins.gtk.viz.diffwin import DiffWindow
37
35
        import gtk