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

N.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.


This document was generated by Roberto on abril, 2 2007 using texi2html 1.76.