a memo

Importing Sources Into CVS

It's simple, but for some reason it doesn't stick in my head --- here's the quick guide to going from source to version-controlled source using cvs import.

So you got your source tree, cd into the top level folder of the source.

Create a .cvsignore file to ignore the stuff that shouldn't be imported.

Then:
cvs import -m "log msg" modulename vendortag releasetag

Or for my own projects:
cvs import -m "imported source" module chxo start

Now, cd .. so that you're in the parent directory, and rename your original source directory so that you have it as a backup.

Then:
cvs checkout modulename

That's it, you now have a working directory managed by cvs.

By Psydeshow on October 30, 2003 at 12:40am

jump to top