[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Retrieving log messages for date range

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Wed, 26 Mar 2008 17:21:01 -0700

On Wed, Mar 26, 2008 at 5:13 PM, Michael Schultz <mjschultz_at_gmail.com>
wrote:

> Hello,
>
> I'm trying to generate a file that gives the log messages back to a
> certain
> date. Shouldn't be too hard, should it? Looking at `svn help log` I
> figure a line like:
> svn log -r {2008-03-10}:HEAD file:///path/to/repository
>
> Will print all the log messages from March 10, 2008 until the current
> version stored in the repository. Nope. It gives me the following message:
> svn: Syntax error in revision argument '2008-03-10:HEAD'
>
> Even simplifying it so just give the log messages for a certain
> date (-r {2008-03-19}, for example), I get the same error message.
>
> According to svn book[1], the formatting is correct and the command should
> be quite successful.
>
> For reference:
> $ svn --version
> svn, version 1.4.4 (r25188)
> compiled Jul 26 2007, 08:07:42
>
> Any helpful ideas?

The syntax is correct, but it is failing because you are likely using csh --
which apparently assigns some special meaning to {}. The command will work
in csh if you enclose {date} within quotes [ "{2008-03-10}":HEAD ]

Better will be to use bash :-)

regards,
-Hari
Received on 2008-03-27 01:21:21 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.