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

Re: invalid option character

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 5 Dec 2011 08:31:49 -0500

On Thu, Dec 1, 2011 at 15:12, Tam <tamakazura_at_gmail.com> wrote:
> Hi-
>
> I have SVN Visual Server and have created a post-commit hook:
>
> "C:\Program Files\VisualSVN Server\bin\svn.exe" update --C:\webcontent
> \xx\xx -username xxx--password xxx
>
> The hook never seemed to execute, so I tried running it on the command
> line, but I get this error:
>
> svn.exe: invalid option character: s
>
> I've checked the svn help and am not sure where this option "s" is
> coming from...

You've specified -username. It needs to be --username (note two
dashes, not one). Typically a single dash indicates a single-character
option, so it's reading "-u" and then not expecting the "s".
Received on 2011-12-05 14:33: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.