• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remove files from CVS source control  RSS feed

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to remove files from source control in Rational/Eclipse? I have some .class files that were inadvertantly checked in and I would like to remove them from source control but I do not see any option to do so. Is there such an option in Rational/Eclipse or perhaps a CVS utility? I really don't want to do this from a command-line.
 
Saloon Keeper
Posts: 18997
80
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CVS, like a good bookkeeping system preserves everything you commit - mistakes and all. People have been known to use brute force to remove stuff from the archives, but it's not something I'd recommend.

In an eclipse project, delete the class files, then commit the emptied directory. This should cause CVS to move the files into the Attic.

One of the reasons why Subversion was invented, by the way, is because there's no honest way in CVS to delete an empty directory.
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!