MPE/iX Shell and Utilities Reference Manual, Vol 2
rcsdiff(1) MPE/iX Shell and Utilities rcsdiff(1)
–rrev1
–rrev2 specifies revisions being compared. rcsdiff compares revision rev1 to rev2.
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 corresponding
working file. This is useful for determining what you changed since the last
check-in.
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.
–x forces keyword expansion. This option takes precedence over the –K option.
–Yfile specifies file as the local configuration file.
EXAMPLES
The command
rcsdiff f.c
runs diff on the latest revision on the default branch of the
RCS file for f.c and the working
file f.c.
DIAGNOSTICS
Possible exit status values are:
0 There were no differences during the last comparison.
1 There were differences between the versions.
2 An error occurred.
Messages
Message: –K has precedence over –k
Cause: You specified both –K and –k. These two options are mutually exclusive. The
command behaves as though you only specified –K.
Action: To avoid the result described under CAUSE, use only one of the two options.
Message: –x has precedence over –k
Cause: You specified both –x and –k. These two options are mutually exclusive. The
command behaves as though you only specified –x.
Action: To avoid the result described under CAUSE, use only one of the two options.
Commands and Utilities 1-471