A.10.2 diff examples
The following line produces a Unidiff (`-u' flag)
between revision 1.14 and 1.19 of
`backend.c'. Due to the `-kk' flag no
keywords are substituted, so differences that only depend
on keyword substitution are ignored.
| $ cvs diff -kk -u -r 1.14 -r 1.19 backend.c
|
Suppose the experimental branch EXPR1 was based on a
set of files tagged RELEASE_1_0. To see what has
happened on that branch, the following can be used:
| $ cvs diff -r RELEASE_1_0 -r EXPR1
|
A command like this can be used to produce a context
diff between two releases:
| $ cvs diff -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs
|
If you are maintaining ChangeLogs, a command like the following
just before you commit your changes may help you write
the ChangeLog entry. All local modifications that have
not yet been committed will be printed.