Handle non-branch repositories better

Bug #512517 reported by Aaron Bentley
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
loggerhead
Triaged
Low
Unassigned
loggerhead-breezy
Incomplete
Undecided
Unassigned

Bug Description

When Launchpad tries to show a branch with Loggerhead, but the location actually contains a shared repository with no branches, we see "Internal Server Error". This recently happened with http://bazaar.launchpad.net/~mbudde/lernid/modular-lernid. It doesn't seem to leave any message in the log file.

(Obviously, we can't display a branch, but we should give a clear error..)

Aaron Bentley (abentley)
description: updated
Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

When using serve-branches, non-branch locations generate a directory listing, e.g.:

http://bzr.mattnordhoff.com/loggerhead/loggerhead/

Of course, for an empty shared repo, an empty directory listing isn't super-useful...

I'd be happy to take a patch that made serve-branches and start-loggerhead show a helpful message in this case. I probably wouldn't work on it, though... :P

Changed in loggerhead:
importance: Undecided → Low
status: New → Triaged
Jelmer Vernooij (jelmer)
Changed in loggerhead-breezy:
status: New → Incomplete
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.