codebrowse chokes when there is no commit message

Bug #134256 reported by Michael Hudson-Doyle
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

I think this is just a simple oversight.

ERR [20070823-13:38:55.753] loggerhead.devel: Exception fetching changes
Traceback (most recent call last):
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/controllers/changelog_ui.py", line 72, in default
    entries = h.get_changes(entry_list)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/util.py", line 356, in locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 596, in get_changes
    changes = self._change_cache.get_changes(revid_list)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/util.py", line 356, in locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/changecache.py", line 102, in get_changes
    changes = self.history.get_changes_uncached(fetch_list)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/util.py", line 356, in locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 67, in bzrlib_read_locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 699, in get_changes_uncached
    entry = self.entry_from_revision(rev)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 664, in entry_from_revision
    message, short_message = clean_message(revision.message)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 155, in clean_message
    short_message = message[0]
IndexError: list index out of range

Tags: lp-code
Revision history for this message
Felipe Lerena (lipe) wrote :

sorry for crossposting, but Michael Hudson told me that this is happening with branches with empty commit messages, if it's of any help my branch message is not empty, it's a space (" ")

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Yesterday's rollout fixed this.

Changed in launchpad-bazaar:
assignee: nobody → mwhudson
status: New → 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.