/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 viz/diffwin.py

  • Committer: Aaron Bentley
  • Date: 2006-06-19 16:25:43 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: abentley@panoramicfeedback.com-20060619162543-fe1bc8b1dffd56c0
Teach gdiff to accept a single file argument

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
from bzrlib.delta import compare_trees
25
25
from bzrlib.diff import show_diff_trees
 
26
from bzrlib.errors import NoSuchFile
26
27
 
27
28
 
28
29
class DiffWindow(gtk.Window):
143
144
                if child[0] == file_path:
144
145
                    tv_path = child.path
145
146
                    break
146
 
        assert tv_path is not None
 
147
        if tv_path is None:
 
148
            raise NoSuchFile(file_path)
147
149
        self.treeview.set_cursor(tv_path)
148
150
 
149
151
    def _treeview_cursor_cb(self, *args):