info-cvs
[Top][All Lists]
Advanced

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

Re: Trouble with cvs2cl.pl based on dates


From: Todd Denniston
Subject: Re: Trouble with cvs2cl.pl based on dates
Date: Fri, 07 Jan 2005 11:26:40 -0500

Gabby James wrote:
> 
> Hi,
> 
> I upgraded the version of CVS on my server & now am having problems creating
> a ChangeLog based on dates using cvs2cl.pl.
> 
> Software Versions:
> Server:  RedHat 9; CVS 1.12.10
> Client: RedHat 9; CVS 1.11.2-17; perl-5.8.0-88.3;   (also tried CVS 1.12.10
> on client)
> 
> I am using version 2.58 of cvs2cl.pl.
> 
> I can run the following command & a ChangeLog will be produced:
> address@hidden barl]$ ./cvs2cl.pl
> 
> I can do the cvs log command successfully based on dates:
> address@hidden barl]$ cvs log -d '2004-12-20<2004-12-22'
> 
> But when I try to run cvs2cl.pl based on dates I get errors:
> address@hidden barl]$ ./cvs2cl.pl -l "-d'2004-12-20<2004-12-22'"
> cvs [log aborted]: Can't parse date/time: '2004-12-20
> Problem reading log input (pid/exit/signal/core: 20324/1/0/0)
> 
> address@hidden barl]$ ./cvs2cl.pl -l "-d'>2004-11-11'"
> cvs [log aborted]: Can't parse date/time: 2004-11-11'
> Problem reading log input (pid/exit/signal/core: 20341/1/0/0)
> 
> Any suggestions for me?
> 
with (CVS) 1.11.16 client, (CVS) 1.11.17 server
the following command works for me.
cvs2cl.pl -l "-d \"2004-08-09 < 2004-10-09\""
I think your "'"s are getting eaten by the first shell.

the other problem might be with CVS 1.12.10, I thought they changed some of
the date handling routines, but even so I thought the changes involved the
output, not input and the input should still accept ISO8601 dates.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

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