Error reported with bzr check on a shared repository

Alexander Belchenko bialix at ukr.net
Fri Sep 4 19:58:08 BST 2009


Jurgen Defurne пишет:
> On Thu, 03 Sep 2009 13:48:04 -0500
> John Arbash Meinel <john at arbash-meinel.com> wrote:
> 
> 
>> This is rather serious. Something has massively corrupted the file
>> .bzr/branch-format
>> And inserted random binary data...
>>
>> I honestly don't know what happened here, but it seems rather strange.
>> If you aren't having any other problems, then likely you have just one
>> branch somewhere which is broken with a bogus format file. Which may be
>> safe to just delete. (I would create a backup copy before doing any
>> deleting, though.)
>>
> 
> Ok, shit happens sometimes. The repository was important, but the
> branch inside it not so. I branched from all the branches in the
> repository which did not gave an error, created a new repository and
> pushed all freshly created branches inside it, doing a check after each
> operation.

If you don't delete shared repository yet you can try to find and restore your broken branches by
executing in the repo root:

bzr heads --dead

and decide which branches in that list you need.




More information about the bazaar mailing list