From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 18 05:31:24 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55DAF16A4CE for ; Thu, 18 Mar 2004 05:31:24 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF37143D2D for ; Thu, 18 Mar 2004 05:31:22 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2IDZpW3011075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Mar 2004 15:35:53 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2IDU9GL009672; Thu, 18 Mar 2004 15:30:09 +0200 (EET) (envelope-from ru) Date: Thu, 18 Mar 2004 15:30:08 +0200 From: Ruslan Ermilov To: Dmitry Morozovsky Message-ID: <20040318133008.GD8605@ip.net.ua> References: <20040318134438.A28467@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: <20040318134438.A28467@woozle.rinet.ru> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@FreeBSD.org Subject: Re: CVS question: diff between dates on a branch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 13:31:24 -0000 --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--