Corrupted repository... help?

Kelly O'Hair Kelly.Ohair at Sun.COM
Fri Nov 9 15:50:47 UTC 2007


Did you try creating a new clone of the revision prior to the bad one?
e.g.
    hg clone -r 367 ...

-kto

Niko Matsakis wrote:
>> Please run verify with hg 0.9.5. It gives better output, including the
>> last intact changeset.
>>
>> Are you using mq? Have you had any notable crashes, power failures,  
>> etc?
>>
> 
> Sorry for the delay in my response, I have been swamped with work  
> lately.  In answer to your questions:
> 
> (1) I am not running mq
> (2) I have not had any notable crashes
> 
> I upgraded to hg 0.9.5, and now I get the following message from "hg  
> verify:"
> 
>> checking changesets
>> checking manifests
>> crosschecking files in changesets and manifests
>> checking files
>>  Misc.vpdoc/store.vpsqlite at 368: f6bd5f13be26 in manifests not found
>>  tmp/hours.numbers/QuickLook/Thumbnail.jpg at 368: 8d1fdeda769d in  
>> manifests not found
>>  tmp/hours.numbers/index.xml.gz at 368: 419ada638c58 in manifests not  
>> found
>> 25015 files, 369 changesets, 33264 total revisions
>> 3 integrity errors encountered!
>> (first damaged changeset appears to be 368)
> 
> I guess what I am looking for is
> 
> (1) some kind of explanation for what this error means and how the  
> repository might have gotten in this state.  Someone earlier mentioned  
> that it might be a hard disk error; I have not noticed any unusual  
> behavior, however, and the files in question *appear* to be sound  
> (i.e., they open, and their contents look correct).
> 
> (2) a way to repair the repository, if any exists
> 
> I tried "hg rollback", but the corrupted revision seems to be too old  
> (2 check-ins back).
> 
> 
> regards and thanks very much for any assistance,
> 
> Niko Matsakis
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list