Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse support for cvs -f checkout

 
Dave Boden
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to checkout a branch in Eclipse but need to use the -f option so that for any files that aren't branched it fetches the HEAD revision.

I can't see anywhere in Eclipse to configure the checkout of a branch with the user of a -f tag.

Here's what "man cvs" says about the -f option:

-f

When you specify a particular date or tag to cvs commands, they nor-
mally ignore files that do not contain the tag (or did not exist
prior to the date) that you specified. Use the -f option if you want
files retrieved even when there is no match for the tag or date.
(The most recent revision of the file will be used).

Note that even with -f, a tag that you specify must exist (that is,
in some file, not necessary in every file). This is so that cvs will
continue to give an error if you mistype a tag name.



So, any ideas if there's some way that I can pass additional parameters to CVS or configure for this scenario somewhere in the Eclipse options?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18014
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse is actually smarter than the standard CVS clients, so you may not have to do anything special at all. If you're attempting to do something unusual but supported by CVS, go to the CVS view and check out the menus and see if any of them sound like what you want.

The Eclipse help viewer might be a good explainer for details about these features.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic