Error while updating my repo

Mads Kiilerich mads at kiilerich.com
Sat May 5 18:45:23 CDT 2012


xancorreu wrote, On 05/05/2012 09:44 PM:
> Al 04/05/12 15:10, En/na Pierre-Yves David ha escrit:
>> On Fri, May 04, 2012 at 03:08:30PM +0200, xancorreu wrote:
>>> I have the same problem with server with hg 1.9.1:
>>>
>>> $ hg update
>>> 115, in decompress
>>>      return _decompress(bin)
>>> zlib.error: Error -3 while decompressing data: incorrect data check
>>>
>> Can you please run "hg verify" on this repo?
>>
> I have these errors in server:
>
> $ hg verify
> repository uses revlog format 1
> checking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
>  documentacio/C++/C++ for Everyone, Second Edition - Cay S. 
> Horstmann.pdf at 298: unpacking da3b15ba7df6: Error -3 while 
> decompressing data: incorrect data check
> 2637 files, 312 changesets, 4096 total revisions
> 1 integrity errors encountered!
> (first damaged changeset appears to be 298)
>
>
>
> In the client (where I do hg push default), I have no errors:
>
> $ hg verify
> repository uses revlog format 1
> checking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
> 2643 files, 316 changesets, 4128 total revisions
>
>
> What can I do now?

General information for this kind of problems can be found on 
http://mercurial.selenic.com/wiki/RepositoryCorruption .

I guess some kind of hardware problems on the server has corrupted the 
repo. If you can pull from the server to this client without any errors 
then you can use that client repo for recovery.

/Mads


More information about the Mercurial-devel mailing list