bug-cvs
[Top][All Lists]
Advanced

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

Please add a DateFormat=iso8601 option to CVSROOT/config


From: George Danchev
Subject: Please add a DateFormat=iso8601 option to CVSROOT/config
Date: Fri, 3 Sep 2004 14:53:36 +0300
User-agent: KMail/1.7

Hello, 
 Here is a little patch against cvs 1.11.17:
 http://danchev.fccf.net/files/cvs-date-format-1.patch
 As you can see this patch could be easily adapted to go for cvs 1.12.9 ...

 It adds a DateFormat=iso8601 option to CVSROOT/config to control the date
 format output on "cvs log". If set cvs prints the date as in ISO8601 format
 as follows:
 date: 2004-08-29 16:17:57 +0000;  author: danchev;  state: Exp;
 if absent the old slashed separators are used:
 date: 2001/10/21 12:18:45;  author: awi;  state: Exp;  lines: +1 -1

 The idea is from FreeBSD-CVS cvs, but they use it in CVSROOT/options (opt)
 and I have adapted it for CVSROOT/config (var=value)

 The above helps to packages like statcvs (probablymore could be find) not
 to break on parsing the new date format separated with slashes which is
 hardcoded in cvs 1.12.x and exiting like:
 #StatCvs - CVS statistics generation
 #Logfile parsing failed.
 #unexpected date format in line 17
-- 
pub 4096R/0E4BD0AB  2003-03-18  <keyserver.bu.edu ; pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 

reply via email to

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