Date: Sun, 16 Feb 1997 13:14:18 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: chuckr@glue.umd.edu (Chuck Robey) Cc: freebsd-current@freefall.freebsd.org Subject: Re: revision diffs Message-ID: <199702162014.NAA07889@phaeton.artisoft.com> In-Reply-To: <Pine.OSF.3.95q.970216144458.27665C-100000@modem.eng.umd.edu> from "Chuck Robey" at Feb 16, 97 02:46:29 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> I sometimes want to know what the last change or two was that occurred in
> a file. I have the cvs tree, and by looking at the file involved, I can
> find the revision numbers I'm curious about. What would the cvs command
> be to show me a diff between the current version and a given earlier
> revision?
% cvs diff -H
Usage: cvs diff [-lN] [rcsdiff-options]
[[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...]
-l Local directory only, not recursive
-D d1 Diff revision for date against working file.
-D d2 Diff rev1/date1 against date2.
-N include diffs for added and removed files.
-r rev1 Diff revision for rev1 against working file.
-r rev2 Diff rev1/date1 against rev2.
%
cvs diff -r XXX -r YYY
to get a difference between revisions XXX and YYY. You can specify
one or more files to localize the differences to a smaller scope than
"all files in current directory".
Regards,
Terry Lambert
terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702162014.NAA07889>
