TortoiseHg how to restore entire repository from a bundle
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.
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.
You could use hg rollback to rollback the commit you just did.
http://www.selenic.com/mercurial/hg.1.html#rollback
精彩评论