You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Payton <PP...@SigmaTel.com> on 2005/11/16 17:45:01 UTC

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

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
 

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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