Comment 1 for bug 149061

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>