如何从mercurial中的拙劣的hetedit中恢复?

时间:2017-05-02 16:21:07

标签: mercurial backup restore

我喋喋不休地说了一句,我想要恢复原来的改变:

$ hg histedit
3 files updated, 0 files merged, 1 files removed, 0 files unresolved
saved backup bundle to /home/jla/solar_capture/.hg/strip-backup/ca681926dad2-a0fffac7-backup.hg

似乎有一个备份捆绑包,如何制作它就好像我已经完成

$ hg histedit --keep
像我打算那样......

1 个答案:

答案 0 :(得分:1)

hg unbundle /home/jla/solar_capture/.hg/strip-backup/ca681926dad2-a0fffac7-backup.hg