|
Source code controlThe Diva code and documentation is under CVS control. This page lists CVS commands that we use in Diva. It assumes that you have CVS correctly configured for use with the Diva repository and that you understand the Diva directory structure. This page is still being developed. Contents See also:
Adding files and directoriesAdding a directoryTo add a new directory to Diva, make sure that you are in the directory's parent ($DIVA in this example), and type cd $DIVA cvs add foo cvs commit foo Adding a fileTo add a new text file to Diva, make sure that you are in the file's parent directory, and type cvs add bar.baz cvs commit bar.baz To add a new binary file to Diva, make sure that you are in the file's parent directory, and type cvs add -kb foo.gif cvs commit foo.gif Importing a directoryTo import an existing directory into Diva, make sure that you are in that directory and use the import command: cd $DIVA/foo cvs import -m "Imported" diva/foo diva start If the imported directory contains any binary files at all, you need to tell CVS: cd $DIVA/foo cvs import -m "Imported" -I ! -W "*.gif -k 'b'" diva/foo diva start where the suffixes of all the binary files are in the quoted argument -- in this case it matches all bgGIF files. (I don't even know why this works -- it is an example on page 116 of the CVS manual.) |