How to recover files that have been deleted from shelf in tortoisehg program?

余生颓废 提交于 2019-12-05 11:59:56

问题


I was trying to delete an individual file from my shelf and it turns out the delete button deletes all of the files in the shelf instead. Is there a way to recover these files besides going into .hg/Trashcan and trying to remember which of those files were deleted?


回答1:


The best way to do this, as you alluded to, is to go into the .hg/Trashcan and copy the shelf file back into the .hg/shelves folder. Obviously if you order or list the trashcan folder by date you should be able to see which was the one you deleted by accident!



来源:https://stackoverflow.com/questions/17372525/how-to-recover-files-that-have-been-deleted-from-shelf-in-tortoisehg-program

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!