[Pkg-bazaar-commits] ./bzr-gtk/unstable r56: Support external repositories.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:16:09 UTC 2009
------------------------------------------------------------
revno: 56
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: bzr-gtk
timestamp: Tue 2006-06-06 18:46:40 +0100
message:
Support external repositories.
modified:
gdiff.py
-------------- next part --------------
=== modified file 'gdiff.py'
--- a/gdiff.py 2006-05-19 22:25:52 +0000
+++ b/gdiff.py 2006-06-06 17:46:40 +0000
@@ -27,11 +27,9 @@
@display_command
def run(self, revision=None, file_list=None):
- bzrdir = BzrDir.open_containing(".")[0]
- repos = bzrdir.open_repository()
- branch = bzrdir.open_branch()
- tree2 = repos.revision_tree(branch.last_revision())
tree1 = WorkingTree.open_containing(".")[0]
+ branch = tree1.branch
+ tree2 = tree1.branch.repository.revision_tree(branch.last_revision())
from bzrlib.plugins.gtk.viz.diffwin import DiffWindow
import gtk
More information about the Pkg-bazaar-commits
mailing list