[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

M.7.3 Basic Editing under Version Control

The principal VC command is an all-purpose command that performs either locking or check-in, depending on the situation.

C-x C-q
C-x v v
Perform the next logical version control operation on this file.

Strictly speaking, the command for this job is vc-next-action, bound to C-x v v. However, the normal meaning of C-x C-q is to make a read-only buffer writable, or vice versa; we have extended it to do the same job properly for files managed by version control, by performing the appropriate version control operations. When you type C-x C-q on a registered file, it acts like C-x v v.

The precise action of this command depends on the state of the file, and whether the version control system uses locking or not. SCCS and RCS normally use locking; CVS normally does not use locking.

M.7.3.1 Basic Version Control with Locking  RCS in its default mode, SCCS, and optionally CVS.
M.7.3.2 Basic Version Control without Locking  Without locking: default mode for CVS.
M.7.3.3 Advanced Control in C-x C-q  Advanced features available with a prefix argument.
M.7.3.4 Features of the Log Entry Buffer  Features available in log entry buffers.


This document was generated on April 2, 2002 using texi2html