[issue3077] overenthusiastic strip corrupts working dir and repo

Greg Ward bugs at mercurial.selenic.com
Thu Oct 27 14:58:31 CDT 2011


New submission from Greg Ward <greg-hg at gerg.ca>:

After a misadventure with graft, my colleague decided to strip the
changesets created by graft. But he accidentally stripped the *source*
changesets fed to graft. Since some of these changesets were buried 9000
revs (and 8 months) ago, strip took a long time and created a large bundle
file. No surprise there.

The big surprise is that strip also corrupted the working dir and the repo. Eek:

$ hg status
warning: ignoring unknown working parent 547977a6f8fb!
$ hg up -C
warning: ignoring unknown working parent 547977a6f8fb!
abort: 00manifest.i at 3a844ed3c044: no node!
zsh: exit 255   hg up -C

hg verify goes completely bananas on this repo. It's toast. Yikes.

----------
messages: 17862
nosy: gward
priority: urgent
status: unread
title: overenthusiastic strip corrupts working dir and repo

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3077>
____________________________________________________


More information about the Mercurial-devel mailing list