Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to properly roll back to an older version in CVS HEAD using Eclipse?

Tags:

java

eclipse

cvs

I have a CVS repository in which I have a set of Eclipse Java projects where I need to roll HEAD back to the state it was at a specific time yesterday essentially abandoning all commits happened since said time.

I've tried different things, including using "Replace with another branch or version" which gives the proper sources, but where it appears that CVS now thinks I'm actually working "back in time" instead of in HEAD but with other sources which result in changed files showing up in Team Synchronize etc. Also commits tells me I'm working on a sticky tag and fails.

So, what is the proper way to tell Eclipse 3.5.1 that I need to rollback HEAD to yesterday?

like image 917
Thorbjørn Ravn Andersen Avatar asked Nov 16 '25 07:11

Thorbjørn Ravn Andersen


1 Answers

I usually use the following for individual files:

Replace With -> History

Which can be found under the right click menu

Pick the version you want (it also includes eclipse locally saved versions)

Then commit to make it the HEAD

like image 91
Neil Foley Avatar answered Nov 18 '25 19:11

Neil Foley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!