[Pkg-bazaar-commits] ./bzr-gtk/unstable r150: Fix handling showing diffs of working tree changes.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:49:39 UTC 2009


------------------------------------------------------------
revno: 150
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: p
timestamp: Sat 2007-02-03 15:17:40 +0100
message:
  Fix handling showing diffs of working tree changes.
modified:
  annotate/gannotate.py
-------------- next part --------------
=== modified file 'annotate/gannotate.py'
--- a/annotate/gannotate.py	2007-02-03 13:01:12 +0000
+++ b/annotate/gannotate.py	2007-02-03 14:17:40 +0000
@@ -243,7 +243,7 @@
                 tree2 = repository.revision_tree(revision.parent_ids[0])
             else:
                 tree2 = repository.revision_tree(NULL_REVISION)
-        from bzrlib.plugins.gtk.viz.diff import DiffWindow
+        from bzrlib.plugins.gtk.diff import DiffWindow
         window = DiffWindow()
         window.set_diff("Diff for row %d" % (row+1), tree1, tree2)
         window.set_file(tree1.id2path(self.file_id))
@@ -376,6 +376,7 @@
         self.message = "?"
         self.timestamp = 0.0
         self.timezone = 0
+        self.properties = []
 
 
 class RevisionCache(object):



More information about the Pkg-bazaar-commits mailing list