subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Levy <andy.l...@gmail.com>
Subject Re: invalid option character
Date Mon, 05 Dec 2011 13:31:49 GMT
On Thu, Dec 1, 2011 at 15:12, Tam <tamakazura@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".

Mime
View raw message