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

Re: problem with subversion command: svn propset

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 16 Dec 2011 20:05:27 +0100

On Fri, Dec 16, 2011 at 03:57:14PM +0100, NKrohn_at_gmx.de wrote:
> Hello,
>
> used subversion version:
> svn, version 1.6.16
>
> Problem:
> svn propset fixlog '-r HEAD:23384' .
>
> Returned error:
> svn: Syntax error in revision argument ' HEAD:23384'
>
>
> The problem is the first charcter of the property value '-'. It
> seems that the hyphen '-' is taken as a subversion parameter. When I
> insert a blank as first charcter of the property value (before the
> hyphen), it works. Is it a subversion error? How can I set a
> property value, which has a hyphen as first character value?
>
> Thank you!

You have to tell the option parser to stop looking for more options.
Try inserting -- like this:

svn propset -- fixlog '-r HEAD:23384' .
Received on 2011-12-16 20:06:05 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.