Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2004 15:30:08 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: CVS question: diff between dates on a branch
Message-ID:  <20040318133008.GD8605@ip.net.ua>
In-Reply-To: <20040318134438.A28467@woozle.rinet.ru>
References:  <20040318134438.A28467@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--IMjqdzrDRly81ofr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 18, 2004 at 01:49:07PM +0300, Dmitry Morozovsky wrote:
> Dear colleagues,
>=20
> 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 toda=
y and
> yesterday). All that I found was 'cvs get -jBRANCH:date1 -jBRACH:date2' b=
ut
> this looks very sub-optimal. Any hints?
>=20
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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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,
--=20
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

--IMjqdzrDRly81ofr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAWaRgUkv4P6juNwoRAnHWAJ4jS53xfTUC0FH6vKQGR256tcfziwCeLW2e
EhM9h4x6IowlC7fslRk+GrU=
=Ld09
-----END PGP SIGNATURE-----

--IMjqdzrDRly81ofr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040318133008.GD8605>