Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 23:53:55 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.ORG>
To:        Alexey Zelkin <phantom@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: www/tools/portsgrowth getinfo.sh
Message-ID:  <20020520205355.GC18686@hades.hell.gr>
In-Reply-To: <20020520174421.A36891@ark.cris.net>
References:  <200205201433.g4KEXiM07535@freefall.freebsd.org> <20020520174421.A36891@ark.cris.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-05-20 17:44, Alexey Zelkin wrote:
> Looks like off-by-one second error in '-D' handling of cvs(1).
>
> Any takers ? :-)

Are you sure this isn't some bug of the script, related to cvs's
interpretation of the date you used?  The dates printed in `cvs log'
output are printed in UTC (GMT+0), but the arguments of -D are by
default considered to be in the local timezone, unless you explicitly
specify UTC as the timezone in the argument of -D.  Compare the
following:

[1]

charon+hades:[/tmp/foo/CVSROOT]$ cvs -q log -N -r1.3 cvswrappers
revision 1.3
date: 2002/05/20 20:45:17;  author: charon;  state: Exp;  lines: +1 -0
Add "png" to binary file list.

[2]

charon+hades:[/tmp/foo/CVSROOT]$ cvs -q diff -u -D'2002-05-20 20:45:00' -D'2002-05-20 20:46:00'

[3]

charon+hades:[/tmp/foo/CVSROOT]$ cvs -q diff -u -D'2002-05-20 20:45 UTC' -D'2002-05-20 20:46 UTC'
Index: cvswrappers
===================================================================
RCS file: /tmp/cvsroot/CVSROOT/cvswrappers,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cvswrappers 20 May 2002 20:44:52 -0000      1.2
+++ cvswrappers 20 May 2002 20:45:17 -0000      1.3
@@ -21,3 +21,4 @@
 #  and value is a single-quote delimited value.
 # For example:
 *.gif -k 'b'
+*.png -k 'b'

-- 
Giorgos Keramidas    - http://www.FreeBSD.org
keramida@FreeBSD.org - The Power to Serve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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