Version Control


What is it?

Poor man's CMVC. Emacs can use RCS, SCCS and CVS: three version control systems that exist for UNIX systems. RCS is free and readily available for both UNIX and NT/95, so we'll refer to it.

Getting Your File Stoked for RCS

Follow these steps to set yourself up for version control:
  1. type "mkdir RCS" in the directory where your files exists
  2. edit the file and place RCS codes in it (I recommend $Id$ in the commented header section - it has most of the information you need)
  3. when you think you are ready for version 1.1 of your code, run "vc-register" to register the file in RCS (this is under the "tools/version control" menu or can be done w/ "C-x v i")
  4. to check out the file w/ a lock, do "C-x C-q"
  5. make changes
  6. check it back in w/ "C-x v v"
  7. repeat steps 4 through 6 as needed.
Beginning | Previous | Next
Last updated $Date: 1997/04/11 03:46:17 $.