check: Missing key in get_sha1s

Bug #385054 reported by Matt Nordhoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

Latest bzr.dev (r4417 now, who knows what back on the 29th), Ubuntu.

A couple weeks ago, I tried to branch a copy of lp:~jelmer/loggerhead/smart-server (since deleted) into my local 1.9-rich-root shared repo. It turns out the branch was broken in some strange way. For example:

mnordhoff@cheezum:/tmp$ bzr branch --no-tree lp:~jelmer/loggerhead/smart-server
Branched 359 revision(s).
mnordhoff@cheezum:/tmp$ cd smart-server/
mnordhoff@cheezum:/tmp/smart-server$ bzr co
bzr: ERROR: No such file: ('servebranches.py-20080618011543-s6ydx5c3bl38zap6-1', '<email address hidden>')

Cool, huh? Anyway, just now I happened to run "check" on that repo, and thanks to that revision, it's not quite right anymore:

  File "/home/mnordhoff/co/bzr/bazaar/bzr/bzr.dev/bzrlib/inventory.py", line 497, in _check
    if (self.text_sha1 != tree._repository.texts.get_sha1s([key])[key]):
KeyError: ('wsgitest.py-20080612051902-5y0zpdi6fhxgun6z-1', '<email address hidden>')

So...what now? :D

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :
Revision history for this message
Robert Collins (lifeless) wrote :

Data integrity matters

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: data-integrity
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.