• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Clean CVS update in Eclipse, and cvs command line access.

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a project checked out of my CVS respository, and I have made a great deal of changes.

I have grown weary of the changes I made and would like to start over, with a clean copy of the code from CVS.

At the command line I would use the -C switch:

cvs update -P -d -C (in directory C:\Eclipse2.1.3\workspace\<my project>\)

How would I do something similar in Eclipse.

Additionally, I very much enjoy the CVS console view, and have added to most of the perspectives I use. The only thing that frustrates me is I would like to use the console to enter CVS commands as if I was at the command line, is there any way to achieve this with Eclipse?

Thanks in advance for your time
[ June 22, 2004: Message edited by: Keith Tingle ]
 
Author
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Keith,

If you choose 'Team->Syncronize with Repository' from the context menu in the Package Viewer you should be taken to the 'Team Syncronize' perspective. From there you can select the top level directory and from the context menu choose 'Over Ride and Update'.

I don't know of a way that you can use the command line from with in Eclipse but you can always go out to the command line if you'd like. Just make sure to do a Refresh in the Package Viewer once the command line processing is finished.

Hope this helps!
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bill Dudney:
If you choose 'Team->Syncronize with Repository' from the context menu in the Package Viewer you should be taken to the 'Team Syncronize' perspective. From there you can select the top level directory and from the context menu choose 'Over Ride and Update'.



Or simply choose 'Replace with->Latest from Head' from the context menu.
 
Bill Dudney
Author
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well yeah, you could do that

Thanks for pointing out the easy way!
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But if you use 'Team->Syncronize with Repository', then you can take one last look at what you've got modified before you wipe it out.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic