Avoid 00changelog.i corruption

Ingo Proetel proetel at aicas.de
Tue Jul 21 06:21:08 CDT 2009


Mads Kiilerich wrote:
> 
> But ... if Mercurial can't trust the operating system then who can it
> trust? I don't think we should add workaround and verification for such
> specific bugs; that doesn't scale.
> 
It's not about a work around for one specific problem. This should be done in all places where data corruption can
happen. Mercurial should make sure that it can detect failures and abort to a state where at least each file is in a
consistent state. That will allow later to verify and repair the repository.

> Alternatively, perhaps the extra check could be placed in an extension?
> 
Sure an extension should be fine.

Cheers,
Ingo


-- 
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0

USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt



More information about the Mercurial mailing list