the /files page explodes in an empty branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Undecided
|
Marius Kruger |
Bug Description
I guess this is somewhat a duplicate of bug 243422, but viewing the file listing in an empty branch blows up like this:
ERROR:loggerhea
Traceback (most recent call last):
File "/home/
inv = h.get_inventory
File "/home/
return self._branch.
File "<string>", line 4, in get_revision_
File "/usr/lib/
return self.get_
File "<string>", line 4, in get_inventory_
File "/usr/lib/
return self.iter_
File "/usr/lib/
raise ValueError('cannot get null revision inventory')
ValueError: cannot get null revision inventory
Related branches
- No reviews requested
Changed in loggerhead: | |
status: | New → Confirmed |
Changed in loggerhead: | |
status: | Fix Committed → Fix Released |
I'm not sure where to post this patch, but it at least improves the error message
to something which doesn't let you think the server is broken.