Comment 3 for bug 814632

Revision history for this message
Francesco Del Degan (pr0gg3d) wrote :

Hi, I'm trying to figure out what's wrong with that branch.
The first thing is that trying to get that branch locally, bzr starts to sync then fails with

$ bzr branch lp:openteacher/2.x
bzr: ERROR: No such file: ('information.png-20081222091428-1l7jkfpnqphdx5fa-1', '<email address hidden>')

Only the .bzr directory is present, no other files/directories.

a bzr log shows:

------------------------------------------------------------
revno: 143
committer: Marten de Vries <email address hidden>
branch nick: 2.x
timestamp: Fri 2011-07-08 17:00:02 +0200
message:
  Updated index.html file, needs testing
------------------------------------------------------------
.
.
.
.
------------------------------------------------------------
revno: 122
committer: Marten de Vries <email address hidden>
branch nick: 2.x
timestamp: Fri 2011-05-13 16:41:03 +0200
message:
  Removed accidentally added lines and deleted western charfus out of the cyrillic alphabet.

bzr: ERROR: Revision {<email address hidden>} not present in "Graph(StackedParentsProvider(<bzrlib.repository._LazyListJoin object at 0x9a9d8ec>))".

Seems that it lacks of revisions 1-121, and this leads to some tracebacks into loggerhead, complaining about some RevisionNotFound and other kind of exceptions, hence the oops.

In "files" view, a traceback occurs when loggerhead tries to render the "bin" directory, but it doesn't find the associated revision.

  File "/home/pr0gg3d/.bazaar/plugins/loggerhead/loggerhead/controllers/__init__.py", line 104, in __call__
    values = self.get_values(path, self.kwargs, headers)
  File "/home/pr0gg3d/.bazaar/plugins/loggerhead/loggerhead/controllers/inventory_ui.py", line 147, in get_values
    filelist = self.get_filelist(rev_tree.inventory, path, sort_type, revno_url)
  File "/home/pr0gg3d/.bazaar/plugins/loggerhead/loggerhead/controllers/inventory_ui.py", line 91, in get_filelist
    change=change_dict[revid])
KeyError: '<email address hidden>'
----------------------------------------

And in "changes" view, the revisions are re-numbered, where last revision 143 is shown as 25.

Before looking how to catch that conditions (maybe with a more graceful exit), I'm really curious about what have made that branch like it, any ideas?