On Thu, Mar 18, 2004 at 01:49:07PM +0300, Dmitry Morozovsky wrote:
> Dear colleagues,
> 
> maybe I'm stupid and blind ;-) but I still can't fugure out how can I ask CVS
> to get diff between two states of a branch with known dates (such as today and
> yesterday). All that I found was 'cvs get -jBRANCH:date1 -jBRACH:date2' but
> this looks very sub-optimal. Any hints?
> 
Surprisingly (it's undocumented) but the exact same synopsis seems
to work here with "cvs diff":

$ ident Makefile.inc1
Makefile.inc1:
     $FreeBSD: src/Makefile.inc1,v 1.418 2004/03/18 10:17:03 ru Exp $
$ cat CVS/Tag
cat: CVS/Tag: No such file or directory
$ cvs di -jRELENG_4:2002/01/01 -jRELENG_4:2003/01/01 --brief Makefile.inc1
Index: Makefile.inc1
===================================================================
RCS file: /home/ncvs/src/Makefile.inc1,v
retrieving revision 1.141.2.39
retrieving revision 1.141.2.57
diff -u -p --brief -r1.141.2.39 -r1.141.2.57
Files /home/ru/tmp/cvsv60oN8 and /home/ru/tmp/cvsmonEXm differ


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to