Reputation: 38265
My last action to rebase branches totally messed up. I saw the output message says "saved backup bundle to xxx.hg
". Is there any way to restore entire repository from that bundle? Thanks.
Upvotes: 4
Views: 2298
Reputation: 19950
You can pull this bundle into your repo with hg pull xxx.hg
. Afterwards you can strip the unwanted revisions with the strip
command from the mq
extension.
Upvotes: 6
Reputation: 1543
You could use hg rollback to rollback the commit you just did.
http://www.selenic.com/mercurial/hg.1.html#rollback
Upvotes: 2