I was asked to do a name change and to maintain consistency, I refactored several classes to change their names. Now, the boss has decided he’s a bit nervous about all this and just wants me to forget the name change altogether. But, I’ve already refactored my code, although I haven’t committed it to CVS. Is there any way to get Eclipse to reverse the refactoring so I don’t have to just grab the last committed code? I can’t find a way to get Eclipse and CVS to work together to pull back the original code with the original names.
Thanks.
Option 1:
This may not be 100% perfect due to formatting differences, but it should be close.
Option 2:
Use this if you don’t have other outstanding changes besides refactoring.
Right-click on the project and select Replace With -> Latest From [whatever]…