how to recover an inconsistent repository?

Benoit Boissinot bboissin at gmail.com
Tue Sep 4 16:53:37 CDT 2007


On 9/4/07, Abraham D. Smith <abe+hg at tock.no-ip.org> wrote:
> I have an 18-month-old Hg repository, and 'hg verify' gives me a pile of
> errors like this:
>
> node 26158e945a8ff9ddbacad67efe2247b8a733f240 in manifests not in library/Ash/Algebra/0Front.pdf
>
> I'm fairly certain that what happened is this:  A couple days after
> initializing the repository with a bunch of old CVS stuff (without
> history), I must have (foolishly!!) manually deleted a bunch of files
> from .hg/data to clean out some big files I didn't want in the new
> repository.
>

I'm not sure, but I think the convert extension could help (with a hg
-> hg conversion). If I'm not mistaken, it can do some kind of path
filtering, you should
try it.

regards,

Benoit


More information about the Mercurial mailing list