00changelog.i unknown format

Matt Mackall mpm at selenic.com
Thu Aug 25 21:10:12 UTC 2016


On Thu, 2016-08-25 at 12:32 -0700, Robert van Spyk wrote:
> Need some more information and possibly a fix for an error. I have been
> using Mercurial Distributed SCM (version 2.8.2) and occasionally get a
> repository acts corrupt with this error:
> 
> abort: index 00changelog.i unknown format 44748!
>
> The referenced file does not seem to be corrupted but it is somewhat
> hard to tell.

The revlog format sticks a format identifier in the first couple bytes of the
file. The valid formats are: 0 and 1. We use "2" as a signpost in a dummy index
file for very old clients not to touch a repo in a format they don't understand.
But you should never encounter any other format numbers. Nor have we ever had a
report similar to this one.

So yes, I would say you definitely have a corruption problem. Tell us more.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list