Forum OpenACS Q&A: Version Control (CVS)

Collapse
Posted by vivian Aguilar on
Hello =) !,
If i want to have a version control of an openacs installation, Do I have to delete all the CVS directories that come with openacs? ... If yes : Does anyone have a script that do that? Because delete all the CVS directories is a lot of work...

Thank you

Collapse
2: Re: Version Control (CVS) (response to 1)
Posted by Dave Bauer on
Use cvs export instead of checkout.
Collapse
3: Re: Version Control (CVS) (response to 1)
Posted by Rocael Hernández Rizzardini on
in this case, you want to import from a checkout you did a time ago from a development tag, so its no easier to just use export, rather you can you something like this:
find /your/oacspath/ -type d -name CVS -exec rm -fR {} \;

find /your/oacspath/ -type d -name CVS (will show you CVS dirs)

find /your/oacspath/ -type d -name CVS -exec rm -fR {} \; (will erase the dirs)

if you do again:
find /your/oacspath/ -type d -name CVS

it won't find anything!

(always make a copy of your files just in case)
And then you can simply import that dir into a local repository.

Collapse
4: Re: Version Control (CVS) (response to 3)
Posted by Jeff Davis on
you can do the import without removing the CVS directories as they are ignored by default (as are backup files and some other things). One thing you should do is get a reasonable cvswrapper file first (the one we use for openacs.org is here cvswrappers)