Cannot view diff of first revision

Bug #149061 reported by Daniel Schierbeck
2
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Medium
Unassigned

Bug Description

Double-clicking the first revision in the revision history view (or right-clicking and selecting "View Diff") doesn't show the diff.

This is the traceback i get:

  Traceback (most recent call last):
    File "/home/daniel/.bazaar/plugins/gtk/revisionmenu.py", line 65, in show_diff
      parentid = self.repository.revision_parents(self.revids[0])[0]
  IndexError: list index out of range

Tags: viz
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 149061] [viz] cannot view diff of first revision

Am Donnerstag, den 04.10.2007, 18:09 +0000 schrieb Daniel Schierbeck:
> Public bug reported:
>
> Double-clicking the first revision in the revision history view (or
> right-clicking and selecting "View Diff") doesn't show the diff.
>
> This is the traceback i get:
>
> Traceback (most recent call last):
> File "/home/daniel/.bazaar/plugins/gtk/revisionmenu.py", line 65, in show_diff
> parentid = self.repository.revision_parents(self.revids[0])[0]
> IndexError: list index out of range
Right, we should diff against NULL_REVISION if self.revids == [].

Cheers,

Jelmer

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

Changed in bzr-gtk:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Daniel Schierbeck (dasch) wrote : Re: [viz] cannot view diff of first revision

This bug fixes the problem.

Revision history for this message
Daniel Schierbeck (dasch) wrote :

This *patch* fixes the problem...

Changed in bzr-gtk:
status: Confirmed → In Progress
Changed in bzr-gtk:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
status: Fix Committed → Fix Released
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.