Restoring files from a corrupt bundle

Erik Muttersbach erik at muttersbach.net
Mon Nov 29 15:44:49 CST 2010


Alright, I understood that, but, shouldn't I see the changes made in the files (the data) as real text if i open it with bless or vi?

Erik

On Nov 29, 2010, at 10:28 PM, Matt Mackall wrote:

> On Mon, 2010-11-29 at 21:33 +0100, Erik Muttersbach wrote:
>> The size of the uncompressed file is actually only about 750mb, so I
>> think my large files may not be included there, However, I can see in
>> the very beginning of the uncompressed bundle file a line that
>> contains the path to one of these big files.
>> 
>> 
>> Is there a manual way to decode the binary chunks?
> 
> Each chunk is of the form:
> 
> 4 bytes: start
> 4 bytes: end
> 4 bytes: length
> length bytes: data
> 
> ..and instructs Mercurial to replace the bytes from start to end of the
> previous version with the bytes from data.
> 
> -- 
> Mathematics is the supreme nostalgia of our time.
> 
> 



More information about the Mercurial mailing list