Cannot bypass damaged revisions

Bug #305547 reported by Kevin Cole
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
bzr-rewrite
Confirmed
Medium
Unassigned

Bug Description

On a dapper system running bzr 0.8.2 I had a repository that appeared to be functioning correctly, until I tried various methods to move it to a hardy system running bzr 1.3.1. Fortunately, the damaged knit file refers to a file that was never changed and was deleted in revision 3. Attempts to try building the system from revision 4 forward have failed. All attempts lead back to the following traceback in one way or another. This latest attempt was from directions given in https://answers.edge.launchpad.net/bzr/+question/53349. (I've tried my luck on the mailng list and IRC, and finally as a last resort, here.)

More info on the corrupted file:

"find . -name "*.knit" -exec gunzip -t {} \;" reveals:

gunzip: ./.bzr/repository/knits/75/types.html-20070302012458-1d7f486c93a59c92.knit: invalid compressed data--crc error
gunzip: ./.bzr/repository/knits/75/types.html-20070302012458-1d7f486c93a59c92.knit: invalid compressed data--length error

Further investigation shows types.html to be part of the Python Library Reference, deleted long ago (revision 3, according to the bzr log). Only two other variants of types.html-*.knit live in the repository at knit/24/ and knit/90/.

Revision history for this message
Kevin Cole (kjcole) wrote :
Revision history for this message
John A Meinel (jameinel) wrote :

I don't know when this patch landed, but we currently have:
#if defined(__SVR4) && defined(__sun)
#include <inttypes.h>
#else
#include <stdint.h>
#endif

In bzrlib/_dirstate_helpers_pyx.h

So I'm guessing it was merged. (bundlebuggy is not around anymore to verify the diff)

Changed in bzr:
status: New → Fix Released
Revision history for this message
John A Meinel (jameinel) wrote :

argh... EWRONGTAB.

Sorry about that, post belonged to bug #305507.

Changed in bzr:
importance: Undecided → Low
status: Fix Released → Confirmed
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in bzr-rewrite:
importance: Undecided → Medium
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

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.