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...
Running on WindowsSBS 2003
Any help is appreciated...
T.
Try removing stuff until it works in order to find out what exactly
caused it to go wrong. I guess that the "s" option given to "-u" as
parameter, and that is not understood. Of course you meant "--username"
and not "-username". Also you will probably have SVN complain about an
unknown "--C:", the path with the working copy isn't supposed to follow
two dashes, similarly to "update".
Good luck!
Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland
Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschlie�lich s�mtlicher Anh�nge ist nur f�r den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf�nger sein sollten. Die E-Mail ist in diesem Fall zu l�schen und darf weder gelesen, weitergeleitet, ver�ffentlicht oder anderweitig benutzt werden.
E-Mails k�nnen durch Dritte gelesen werden und Viren sowie nichtautorisierte �nderungen enthalten. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich.
**************************************************************************************
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".