开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜