empty branch causes exception for bzr viz

Bug #185271 reported by Jelmer Vernooij
2
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
New
Undecided
Unassigned

Bug Description

  affects bzr-gtk

Running bzr viz on an empty branch causes the following exception to be
raised:

ganieda:/data/tmp/xp% bzr.dev viz
Traceback (most recent call last):
  File "/home/jelmer/.bazaar/dev-plugins/gtk/branchview/treeview.py",
line 385, in _on_revision_activated
    self.show_diff(revision_id, parent_id)
  File "/home/jelmer/.bazaar/dev-plugins/gtk/branchview/treeview.py",
line 263, in show_diff
    revid = self.get_revision().revision_id
AttributeError: 'NoneType' object has no attribute 'revision_id'

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.