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

Re: unable to use dates for svn commands (no date format accepted for some reason?)

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-11-17 00:10:48 CET

On Nov 16, 2005, at 18:45, Paul Payton wrote:

> I am using 1.2.3 subversion
> I would like to create tag based on date using the trunk
> svn copy -r {"2005-11-15 23:45 -0600"} <SRC> <DST>
> even the simplest of dates {2005-11-15} gives me:
> svn: Syntax error in revision argument '2005-11-15'
>
> I tried this on log, copy, co ... all the commands give some error

Your shell is interpreting the curly braces; Subversion is not even
seeing them. Enclose them in single quotes, or put backslashes before
them, to prevent the shell from seeing them and pass them directly on
to Subversion.

svn copy -r '{2005-11-15}' <SRC> <DST>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 17 00:12:46 2005

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.