Am 01.12.2011 21:12, schrieb Tam:
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
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.
**************************************************************************************