• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[eclipse] Option to force commit in CVS.

 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic