Alpha_1 Programmers's Manual


Using CVS with Alpha_1 under Emacs

Links

VC: Version Control under Emacs

CVS is supported under Emacs 19 and above through a package called "VC", which suppors several version-control systems: SCCS, RCS, and CVS. CVS actually does version control to entire source trees, using RCS on individual source files. Emacs "info" contains on-line documentation for CVS and its shell (command-line) invocation and options, invoked through C-h i or menubar "Help/Info (Browse Manuals)".

VC integrates normal CVS usage into Emacs. You can tell when a file is known to CVS by looking at the mode line in Emacs. It will have the annotation "CVS", followed by the current version number.

GDC group specific Emacs commands

/res/gdc/projects/general/emacs/gdc_general.el binds the following two commands as a top-level interface to VC and CVS:

VC Emacs commands

The VC command keystrokes start with the prefix C-x v. The VC commands are also available under the menubar from a Tools/Version Control submenu.

These are purely informational VC commands:

You should always look at the diffs before checking in a change.

These are the most useful VC commands:

These are the rest of the useful VC commands:

These appear to be RCS specific, rather than CVS. I've never used them.

Working directory cleanup

To clean out your workdir when you're done checking in, you can use Dired to delete the working files (leaving the CVS subdirectories!)

Specifically,

If you don't do this last step, the source files you cleaned up will all be re-created by the next "cvs update" command, and it will whine that they are missing as well.


Last modified June 8, 1999