even easier solution:

set the post commit hook to:

echo p | "C:\Program Files\VisualSVN Server\bin\svnsync" sync --
username syncuser --password aaaa http://hostname/svn/repo/

On 22 Jan, 13:53, Carl Hörberg <[email protected]> wrote:
> had problem where my post-commit hook didn't accept a remote servers
> certificated, and as Visual SVN server runs the hook scripts as SYSTEM
> account i couldn't accept it.
>
> i triedhttp://blogs.msdn.com/adioltean/articles/271063.aspxbut as i
> only had RDP access to the machine it failed, but with some tweaking i
> solved it. run the following commands and you should be set..
>
> sc create testsvc binpath= "cmd /K echo p | c:\progra~1\visual~1\bin
> \svnsync sync --username syncuser --password 
> aaaaahttp://hostname/svn/repository";
> type= own type= interact
>
> sc start testsvc

Reply via email to