rcsdiff -r1.4 -u foo.c
$Header$ $Id$ $Date$ $Log$ $Author$
$Header: /afs/sipb.mit.edu/project/iap/unixsoftdev/examples/rcs/RCS/foo,v 1.3 95/01/19 19:24:27 nygren Exp $
ci -l foo # save old version before clobbering
# plus get a lock on the file
co -r1.5 foo # revert to version 1.5
ci -u foo # check in the reverted file and unlock
diff file1 file2
or
rcsdiff -r1.5 -c foo # changes from 1.5 to present
patch < foo.patch -p -E