[GRASS5] cvs2cl.pl: selection by date?

Hi,

I am trying to correctly generate the Changelog file for 6.0.1,
but have these troubles:

cvs2cl.pl -l "-d<'2005-10-03'"
cvs [log aborted]: Can't parse date/time: '2005-10-03'
Problem reading log input (pid/exit/signal/core: 22500/1/0/0)

cvs2cl.pl --version
cvs2cl.pl version 2.59; distributed under the GNU GPL.

cvs --version
Concurrent Versions System (CVS) 1.11.17 (client/server)

Any ideas? I googled around, but found no answer which worked.

Maybe it depends on the server version at Intevation?

Thanks

Markus

PS: Yes, but before subscribing to the cvs2cl.pl ML, I wanted to
    try here :slight_smile:

On Mon, Aug 01, 2005 at 07:36:29PM +0200, Markus Neteler wrote:

I am trying to correctly generate the Changelog file for 6.0.1,
but have these troubles:

cvs2cl.pl -l "-d<'2005-10-03'"
cvs [log aborted]: Can't parse date/time: '2005-10-03'
Problem reading log input (pid/exit/signal/core: 22500/1/0/0)

cvs2cl.pl --version
cvs2cl.pl version 2.59; distributed under the GNU GPL.

cvs --version
Concurrent Versions System (CVS) 1.11.17 (client/server)

Any ideas? I googled around, but found no answer which worked.

Maybe it depends on the server version at Intevation?

there was no change on the server, so if you successfully
ran the same command before, it must be something else.

The error message says it can parse the date/time. Maybe
your locale changed? (just a guess)

I have
cvs2cl.pl version 1.174 (BETA); distributed under the GNU GPL.
and it simple gives me an error message if I try the command
you tried:

$ cvs2cl.pl -l "-d<'2005-10-03'"
sh: line 1: 2005-10-03: No such file or directory

Best

  Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
Kolab Konsortium http://kolab-konsortium.de/
FreeGIS http://freegis.org/

On Mon, Aug 01, 2005 at 08:47:35PM +0200, Jan-Oliver Wagner wrote:

On Mon, Aug 01, 2005 at 07:36:29PM +0200, Markus Neteler wrote:
> I am trying to correctly generate the Changelog file for 6.0.1,
> but have these troubles:
>
> cvs2cl.pl -l "-d<'2005-10-03'"
> cvs [log aborted]: Can't parse date/time: '2005-10-03'
> Problem reading log input (pid/exit/signal/core: 22500/1/0/0)
>
> cvs2cl.pl --version
> cvs2cl.pl version 2.59; distributed under the GNU GPL.
>
> cvs --version
> Concurrent Versions System (CVS) 1.11.17 (client/server)
>
> Any ideas? I googled around, but found no answer which worked.
>
> Maybe it depends on the server version at Intevation?

there was no change on the server, so if you successfully
ran the same command before, it must be something else.

I am trying this the first time in my life :slight_smile:

The error message says it can parse the date/time. Maybe
your locale changed? (just a guess)

Yes, maybe it's related to the locale. but I have en_US.

I have
cvs2cl.pl version 1.174 (BETA); distributed under the GNU GPL.
and it simple gives me an error message if I try the command
you tried:

$ cvs2cl.pl -l "-d<'2005-10-03'"
sh: line 1: 2005-10-03: No such file or directory

I am using
## $Revision: 2.59 $
## $Date: 2005/05/18 05:34:34 $
## $Author: kfogel $

the latest...

Markus

Best

  Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
Kolab Konsortium http://kolab-konsortium.de/
FreeGIS http://freegis.org/

Markus Neteler wrote:

> The error message says it can parse the date/time. Maybe
> your locale changed? (just a guess)

Yes, maybe it's related to the locale. but I have en_US.

> I have
> cvs2cl.pl version 1.174 (BETA); distributed under the GNU GPL.
> and it simple gives me an error message if I try the command
> you tried:
>
> $ cvs2cl.pl -l "-d<'2005-10-03'"
> sh: line 1: 2005-10-03: No such file or directory

Something is trying to evaluating the argument, resulting in:

  <'2005-10-03'

being interpreted as an attempt to redirect stdin from a file named
2005-10-03.

My guess is that something in cvs2cl.pl is constructing a command line
which includes the argument and passing it to the shell, and isn't
quoting it.

Likely culprits would be the use of backticks, qx/.../, or the
one-argument form of the system() function (where the argument is
either a scalar or a single-element array).

--
Glynn Clements <glynn@gclements.plus.com>