
edit | 821
CVS
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Lowercase symbols denote the first file. Uppercase symbols
denote the second file. The symbols are:
E, e
The line number of the line just before the group.
F, f
The line number of the first line in the group.
L, l
The line number of the last line in the group.
M, m
The line number of the line just after the group.
N, n
The number of lines in the group.
%(A=B?C:D)
If A is equal to B, display C; otherwise, display D. A and B
must be decimal constants or a single letter that is one of the
symbols provided.
%%
The percent character.
%c'C'
The character C, which cannot be a quote or a backslash.
%c'\O'
The character represented by the octal string O.
Example
This is a simple example to show how CVS displays the difference
between the current and repository revisions of the Makefile.
$ cvs diff Makefile
Index: Makefile
=============================
RCS file: /var/lib/cvs/wizzard/Makefile,v
retrieving revision 1.6
diff -r1.6 Makefile
25a26
> rm -f lib/*.o
edit
cvs [cvs-options] edit [options] [files ...]
Mark a file as being edited by the current user. This command is
used as part of the cvs watch family of commands. If a file is being
watched, it is checked out to the sandbox with read permissions
but not write permissions. The edit command sets the sandbox file
as writable, notifies any watchers