On Thu, Dec 1, 2011 at 15:12, Tam <tamakaz...@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".

Reply via email to