
Kudos to the Eclipse developers for making this painless. (If you've never restored a file from CVS like this before, I recommend restoring just one file to start with.)
If there are multiple files you want to restore, walk through those two steps for each file. Then, in the right pane, select the version you want to restore. Select the file in the left pane that you want to restore. Eclipse displays a list of all files that have been deleted from this directory. Right-click the folder that previously contained the files you want to restore, and select Team, then Restore from Repository. Assuming that your project is in a CVS repository, here's all you have to do: Recovering (un-deleting, if you prefer) files you've deleted from a CVS repository using Eclipse is a breeze, at least after you've done it once. So, now that I've made my Pigpen rant, karma comes knocking to see if I have any idea what I'm talking about. "No problem", I say, "I'll just recover it from our CVS repository when I get back from lunch." INTELLIJ FIND DELETED FILE CODE
"That would be great", they say, and I go off and delete all the code related to XYZ.įriday morning, as I'm heading out to lunch, I meet the customer in the hallway and they say "Al, I made a mistake, we are going to need that XYZ functionality after all. Thursday morning, a customer tells me "Al, we're not going to need the XYZ functionality after all."
In this case, one day I write a rant about a Pigpen Developer who is anti-YAGNI, and then later in the week this exchange takes place.