tags:

views:

227

answers:

1

I inadvertently added some dynamically build directories and files to CVS in my Eclipse project. Now after deleting these files, committing changes and running the build files are shown as new (question mark) but directories are shown as committed. Now I know the hard way to deal with this situation that requires me to manually delete unneeded directories from the repo but all I'm really trying to do is to add the top unneeded dir to .cvsignore so any files there will be ignored on commit. However Team->Add to .cvsignore menu option is at this point grayed out and if I add .cvsignore manually it is (for lack of a better word) ignored.

Can this be done without cleaning directories out from the history? And if yes - how?

A: 

Since no one came forward with the answer I'm going to answer this. Or rather I will tell you how I ended up dealing with this problem. So I think it doesn't have other solution just because CVS directories are "permanent". I had to open CVSROOT/history file and manually delete all lines corresponding to the directories that I no longer want. After that I also deleted all .CVS folders inside the directories I wanted to get rid of. Refresh and add to .cvsignore. Enjoy!

DroidIn.net