RCSDIFF
Section: Misc. Reference Manual Pages (1L)
Updated:
Index
Return to Main Contents
NAME
rcsdiff - compare RCS revisions
SYNOPSIS
rcsdiff [ -biwt ] [ -cefhn ] [ -q ] [ -rrev1 ] [ -rrev2 ] file ...
DESCRIPTION
Rcsdiff
runs
diff(1)
to compare two revisions of each RCS file given.
A file name ending in ',v' is an RCS file name, otherwise a
working file name. Rcsdiff derives the working file name from the RCS
file name and vice versa, as explained in
co(1L).
Pairs consisting
of both an RCS and a working file name may also be specified.
The options -b, -i, -w, -t,
-c, -e, -f, and -h,
have the same effect as described in
diff(1);
option
-n generates an edit script of the format used by RCS.
The option -q suppresses diagnostic output.
If both rev1 and rev2
are omitted, rcsdiff compares the latest revision on the
default branch (normally the highest branch on the trunk)
with the contents of the corresponding working file. This is useful
for determining what you changed since the last checkin.
If rev1 is given, but rev2 is omitted,
rcsdiff compares revision rev1 of the RCS file with
the contents of the corresponding working file.
If both rev1 and rev2 are given,
rcsdiff compares revisions rev1 and rev2 of the RCS file.
Both rev1 and rev2 may be given numerically or symbolically,
and may actually be attached to any of the options.
EXAMPLES
The command
rcsdiff f.c
runs diff on the latest revision on the default branch of RCS file f.c,v
and the contents of working file f.c.
DIAGNOSTICS
The exit status is 0 if there were no differences during the last comparison,
1 if there were differences, and 2 if there were errors.
IDENTIFICATION
Author: Walter F. Tichy,
Purdue University, West Lafayette, IN, 47907.
Revision Number:
1.3
; Release Date:
89/05/02
.
Copyright © 1982, 1988, 1989 by Walter F. Tichy.
SEE ALSO
ci(1L), co(1L), diff(1), ident(1L), rcs(1L), rcsintro(1L), rcsmerge(1L), rlog(1L)
Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control
System," in Proceedings of the 6th International Conference on Software
Engineering, IEEE, Tokyo, Sept. 1982.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLES
-
- DIAGNOSTICS
-
- IDENTIFICATION
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:46:22 GMT, January 05, 2023