bug-cvs
[Top][All Lists]
Advanced

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

WinCVS and 'cvs' using different date formats


From: Scott Fagg
Subject: WinCVS and 'cvs' using different date formats
Date: Fri, 01 Jun 2001 16:23:32 +1000

Apologies if this made it to the list before. Our mail system has been flakey 
recently. It's possible that my previous post never made it or that i missed 
the responses.

I'm using cvs 1.11.1p1 on my linux box and WinCVS 1.2 on my w2k box. Both 
working with the same cvs repository running in pserver mode on a linux box.

I've noticed that WinCVS uses date formats like this:

Fri Jun 01 04:05:39 2001

While the command line linux cvs client uses this format:

Fri Jun  1 04:05:39 2001

This is only a problem on the 1st -> 9th of each month.

This causes me a problem when i'm using WinCVS and 'cvs' on the same project. 
If i checkin a page with cvs, then WinCVS is convinced that the file is not 
current. Running 'status' within wincvs fixes the problem.

Conversely if i check in a file using WinCVS, then 'cvs' is convinced that the 
page is not current.

The result of this is that i end up doing unnecessary checkins and sometimes 
dont know whether a checking is required or not.

The output below sorts of illustrates the problem. At no point during this did 
i actually edit index.php


[sf@bneweb01 /disk2/development/intranet/archives]$ cat CVS/Entries

/index.php/1.2/Fri Jun 01 04:05:39 2001//

[sf@bneweb01 /disk2/development/intranet/archives]$ cvs status index.php
==============================================
File: index.php         Status: Locally Modified

   Working revision:    1.2
   Repository revision: 1.2     /disk2/CVS/archives/index.php,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

[sf@bneweb01 /disk2/development/intranet/archives]$ cvs ci -m "" index.php

Checking in index.php;
/disk2/CVS/archives/index.php,v  <--  index.php
new revision: 1.3; previous revision: 1.2
done

[sf@bneweb01 /disk2/development/intranet/archives]$ cat CVS/Entries

/index.php/1.3/Fri Jun  1 04:05:39 2001//

[sf@bneweb01 /disk2/development/intranet/archives]$

< at this point i got to WinCVS and do a checkin >

[sf@bneweb01 /disk2/development/intranet/archives]$ cat CVS/Entries

/index.php/1.4/Fri Jun 01 04:05:39 2001//

[sf@bneweb01 /disk2/development/intranet/archives]$ cvs status index.php
==============================================
File: index.php         Status: Locally Modified

   Working revision:    1.4
   Repository revision: 1.4     /disk2/CVS/archives/index.php,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

[sf@bneweb01 /disk2/development/intranet/archives]$

Scott Fagg <scott.fagg@arup.com.au>
Ove Arup & Partners
(07) 3839 1166





reply via email to

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