This is only relevant for shared delopment (at the UofA) Currently, we are using rcs but we are planning on swiching to cvs soon.
To check out a file you load the file from your shadow directory (NOT the master directory!) into Emacs. You then check it out using C-x C-q or the menu option `Tools:Version Control:Check Out'.
This will make the file writable for you and the corresponding file in the master directory is now "locked" for everyone else (pure magic!). They can still read the original version but they cannot change it.
If you now make changes and save the file, the new file will be saved in your shadow directory and not in the master directory. Everyone else will still see the (locked) original.
When you have updated a file and made sure that it still works, you want to put it back in the master directory for everyone else to see. You do this i two steps.
First you check in the file in Emacs using C-x C-q again. This gives you the opportunity to write a comment on your changes. Type C-c C-c when your comment is written. The file in the master RCS directory is now updated. No update of the work file in the master directory itself taken place. To make this happen you must use the shell script `fix.csh' in your shadow directory. Run it in your shadow directory with the name of the file you just checked in as the only argument.
`./fix.csh file'
This script also replaces the file in your directory with a symbolic link to the file in the master directory again. This will make future changes made by others visible to you.
Change into the main src directory.
` rcs -n snapshot-name: *'
Checking Out a Snapshot
`co -rsnapshot-name src/RCS/*'
Stealing a Lock
`rcs -u file '
Go to the first, previous, next, last section, table of contents.