How to recover a file from “Checkout but removed” state?

后端 未结 2 1324
醉话见心
醉话见心 2021-01-12 04:17

I was trying to checkout a file and it went it to \"Checkout but removed\" state.

I am not able to undocheckout it and have no clue what needs to be done next.

2条回答
  •  悲&欢浪女
    2021-01-12 04:54

    You should be to undo checkout through the GUI:

    • find checkout
    • select the checkedout file and right-click: undo checkout

    Even if that file is not visible on the disk, the "Find checkout" GUI will list it as checked out.

    Find checkout


    Another solution is to copy the file from another view, for instance a dynamic view with the same config spec (easy to create, and providing a quick access to the same file).

    If you copy it on your snapshot view, the file will be listed as "checked out" (but with no modifications yet), and you can resume working on it.

提交回复
热议问题