tags:

views:

431

answers:

2

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?

A: 

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

Neil Foley
I cannot see this for the whole project, but only for individual files. Are you right clicking the project in the Project Explorer?
Thorbjørn Ravn Andersen
This is my bad, it does indeed only work for individual files. I'll update my answer to reflect this
Neil Foley
A: 

I ended up manually merging the files up in HEAD and very, very carefully checking in the sources. This was no fun.

Thorbjørn Ravn Andersen