0

I have a system that uses CVS. Build takes a long time, partially because "CVS update" takes a long time. There are several folders that contain a lot of files that change rarely, if ever. I would like to have "CVS update" ignore those folders (i.e. not even look at them). I have tried .cvsignore and the -I options but they do not do what I want.

Any suggestions?

Ilir Deda
  • 99
  • 1
  • 8

1 Answers1

1

This answer comes with a caveat. You really are not "supposed" to do stuff like this.

mv folder_to_ignore/CVS folder_to_ignore/CVS_ignored

This will not work for cvs update -d since this operation tricks CVS into thinking you have a partial checkout and since cvs update -d tries to checkout missing stuff.

To restore the folder to CVS control, rename:

folder_to_ignore/CVS_ignored

back to:

folder_to_ignore/CVS
kbulgrien
  • 4,384
  • 2
  • 26
  • 43