Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes [eclipse] Option to force commit in CVS. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[eclipse] Option to force commit in CVS." Watch "[eclipse] Option to force commit in CVS." New topic
Author

[eclipse] Option to force commit in CVS.

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
the command line option to force commit is:
cvs commit -m "your message" -Rf yourFile.java
any way to do this within Eclipse?
[ February 19, 2004: Message edited by: Andres Gonzalez ]

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
I'm not familiar with CVS command line options, but If you are trying to just force in a file, overwriting what is already there, you can use the Override and Commit option off the right click menu on the synchronize view.
This will overwrite and differences you have with CVS, with your version, without trying to merge the changes.
Is that what you mean?
Dave
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Is that what you mean?
nope
The file I have in my local PC is exactly the same as the one in CVS. what I want is to be able to force commit that file again, even though there are no differences between my local file and CVS. Eclipse seems to commit the file, but it doesn't do it.
This will overwrite and differences you have with CVS, with your version, without trying to merge the changes.
exactly, but this is based on the fact that my local file is different from the one in CVS, which is not my case.
the point is: I want to create a new Revision, even though the revision will be the same as the previous one.
The command line I posted does that, but I was wondering if eclipse has this feature.
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [eclipse] Option to force commit in CVS.