How to recover deleted files from CVS?
I was faced with a problem where I needed to view a file which had already been deleted from CVS. How can I view the old versions of a file which has been deleted from CVS? Doesn't CVS keep the files and their history even when they are deleted?
Please sign in to leave a comment.
CVS creates for deleted files a new directory called "Attic". In this directory CVS moves the files instead deleting them.
You can browse to this directories with "ViewCVS", "CVS Help" or other tools.
So it's not possible to undelete files from within IDEA, but I need to use external tools?
What COULD work (I have not tested it myself, please try it first somewhere else :))
Create a new file in the same place with exactly the same name, CVS might treat it as a new version of the file, so you could be able to retrieve previous version from history.
Thanks. That works.