The truly evil import command.
cd <directory-to-import> cvs import -kb <cvs-path-to-import> <VENDOR_VERSION> <LOCAL_VERSION>
For our example:
- you are in cvs project 'projectA' (i.e. you did a 'cvs co projectA')
- you want to import the directory and files under 'torque-gen' in projectA
- you are importing version 3.1 of torque.
- you want to call it your base revision.
cd projectA/torque-gen cvs import -kb projectA/torque-gen TORQUE_GEN_3_1 TORQUE_GEN_BASE
- the tag names must contain only alphanumerics and underscores.
- the actual names are arbitrary.
- -kb is handy if any of the files are actually binary, and will also preserve version id's in the files from the importer.
-m <message> can be used to set the message, otherwise CVS will throw you into an editor.