Comment 14 for bug 183559

Revision history for this message
Martin von Gagern (gagern) wrote : Re: [Bug 183559] Re: bzr switch should have a -r option

Nishi wrote:
> I suspect they are completely destroed, is it correct?!
> Please tell me, it my project can be recovered?!

The information should still be present in the repository. In a simple
test setup, I could recover such information in the following way:

$ bzr heads --dead-only
$ bzr pull --overwrite -r revid:<revid-of-dead-head> .

As you have noticed, this pull will change the branch as well as the
working copy. One more reason I want a tool working on the working tree
only, leaving the branch alone.