integrity failure - how to fix?

Thomas Arendsen Hein thomas at intevation.de
Sun Dec 17 15:54:36 UTC 2006


* Ed Santiago <ed at edsantiago.com> [20061217 16:34]:
> Thomas: sounds like it's solved.  No need to investigate further,
> but I do appreciate your offer to do so.

Ok, so only the short investigation:

$ hg rollback -R corrupt-hg-repo
$ hg clone --pull corrupt-hg-repo fixed-hg-repo
$ hg verify -R fixed-hg-repo
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
8 files, 1734 changesets, 1760 total revisions
$ hg tip -q -R fixed-hg-repo
1733:9c9e3b33f945

So 1734 of 1737 changesets could be saved without dirty tricks.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial mailing list