How can I recover a removed file in Mercurial (if at all)?

后端 未结 9 748
有刺的猬
有刺的猬 2020-12-23 08:38

Accidentally, by using a GUI as opposed to CLI, I removed every file in a Mercurial project.

I recovered with Revert ok and lost some work, which as I have time mach

9条回答
  •  醉梦人生
    2020-12-23 09:33

    The following worked for me.

    hg revert -r  
    

    (Optional, to revert all files)

    hg revert -r  --all
    

提交回复
热议问题