MQ - trashed my repository?

Benoit Boissinot bboissin at gmail.com
Wed Oct 29 15:05:49 UTC 2008


On Wed, Oct 29, 2008 at 3:49 PM, Jan Capek <jen at jikos.cz> wrote:
> There it is. Also, I forgot to mention. I am not currently subscribed to
> the list, so, please, cc me on this topic if possible.
>
> Would it help if I provide the entire repository (attached)? The sources
> are nothing secret, it is actually a mercurial extension that I would like
> to contribute once it's a little bit more mature.
>

You can recover to a 'kind of' sane state by doing:

$ > .hg/patches/status # empty the status file
$ hg debugrebuild state -r tip # rebuild the dirstate

Then hg status can help recover you changes (you can try addremove and
compare the output of diff, with the patch in .hg/patches).

Can you open a bug about this issue, with the broken repo and all
information you
can provide that can help us to understand how it happened?

thanks,

Benoit



More information about the Mercurial mailing list