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

Re: Problem with dates

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-21 10:48:29 CEST

On Apr 20, 2006, at 23:43, Marco Tedone wrote:

> Hi, I'm using CruiseControl to monitor changes to my SVN
> repository. When it's time to check if something changed, CC issues
> the following command:
>
> [begin]
> svn: Syntax error in revision argument '2006-04-12T20:17:30Z:
> 2006-04-20T21:18:40Z'
> [cc]Apr-20 22:18:40 SVN - Error executing svn log command
> svn log --non-interactive --xml -v -r {2006-04-12T20:17:30Z}:
> {2006-04-20T21:18:40Z} --username ****--password **** http://
> jemoserver/jemos-repos-quartz
> [end]
>
> Is the date in the right format? It seems that SVN doesn't like it.
> I'm running on Windows XP SP2.

That command works great for me with Subversion 1.3.1 in a bash shell
on Mac OS X 10.4.6 PPC.

Looks like your shell is throwing away the curly brackets. Perhaps on
a Windows shell they need to be escaped?

svn log --non-interactive --xml -v \
-r '{2006-04-12T20:17:30Z}:{2006-04-20T21:18:40Z}' \
--username ****--password **** http://jemoserver/jemos-repos-quartz

Or:

svn log --non-interactive --xml -v \
-r \{2006-04-12T20:17:30Z\}:\{2006-04-20T21:18:40Z\} \
--username ****--password **** http://jemoserver/jemos-repos-quartz

Both of those escaped variants also work for me in bash.

I haven't used CC so I don't know if this is something that needs to
be changed in their code or whether you can handle it in a config
file or what.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 21 10:49:50 2006

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.