/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 annotate/gannotate.py

  • Committer: Jelmer Vernooij
  • Date: 2007-02-03 14:17:40 UTC
  • Revision ID: jelmer@samba.org-20070203141740-g245bw1duopwmxw7
Fix handling showing diffs of working tree changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
                tree2 = repository.revision_tree(revision.parent_ids[0])
244
244
            else:
245
245
                tree2 = repository.revision_tree(NULL_REVISION)
246
 
        from bzrlib.plugins.gtk.viz.diff import DiffWindow
 
246
        from bzrlib.plugins.gtk.diff import DiffWindow
247
247
        window = DiffWindow()
248
248
        window.set_diff("Diff for row %d" % (row+1), tree1, tree2)
249
249
        window.set_file(tree1.id2path(self.file_id))
376
376
        self.message = "?"
377
377
        self.timestamp = 0.0
378
378
        self.timezone = 0
 
379
        self.properties = []
379
380
 
380
381
 
381
382
class RevisionCache(object):