On 2003-05-28 15:41-0700 Kevin Layer wrote:

> How do I reference the revisions on a branch for a specific date?
>
>   cvs diff -D "2 days ago"
>
> always seems to refer to the trunk, and not the branch I'm on.

cvs upd -r mybranch
cvs diff -D "2001-05-17 16:12Z" -D "2002-01-21 18:12" myfile.c
cvs diff -D "2001-05-17 16:12" -D "1 month ago" myfile.c yourfile.
cvs diff -D "2001-05-17 16:12" -D "1 year 2 months ago" *.h
cvs diff -D "5 years 2 months 3 weeks ago" -D "18:12"

Lots of combinations available. By placing a Z after the HH:MM the time
is specified in GMT, otherwise it’s local time.

If you don’t run the first update command, all the diffs will be done on
the main branch.

Regards,
Øyvind
-----------
cat /dev/urandom >SCO



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to