bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS -D option with time offset


From: Dirk Stoecker
Subject: CVS -D option with time offset
Date: Thu, 27 Jul 2006 14:50:38 +0200 (CEST)

Hello,

I always had some problems with the "cvs diff -D" option and now found the 
reason:

First some notes:
a) our server runs with GMT+2 hours system time (CEST)
b) all our work systems run GMT+2 as time zone.
c) We use NTP as time protocol, I checked all times
d) We Use SuSE linux 9.3, 10.1, Cygwin on WinXP
e) The server and the linux clients run Version 1.12.12. The windows 
   client is CVSNT 2.0.51d (client/server).

Doing a checkin at 13:48 local time results in the correct entry:

 $Id: foofile,v 1.2 2006/07/27 11:48:04 user Exp $

Now doing a cvs diff to find out, what has been changed:

> cvs diff -D 2006-07-27T18:40:00
cvs diff: Diffing .
Index: foofile
===================================================================
RCS file: /projects/ourstuff/foofile,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
5c5
< #       Version:      $Id: foofile,v 1.1 2006/07/26 11:18:09 user Exp $
---
> #       Version:      $Id: foofile,v 1.2 2006/07/27 11:48:04 user Exp $

Doing a cvs diff 10 Minutes later results in nothing:

> cvs diff -D 2006-07-27T18:50:00
cvs diff: Diffing .

------------------------

So Altogether it seems, that cvs diff -D has an offset of 7 hours total.
It should either use UTC or local time for the diff, but as it does now it 
uses a time zone UTC+7, which is nothing I ever used or will use.

Ciao
-- 
http://www.dstoecker.de/ (PGP key available)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]