You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sergey Proskurnya <al...@gmail.com> on 2005/02/03 13:31:37 UTC

Hooks does not work with standalone "svnserve"

Hi all,

uhhh, strange problems.
SVN have worked just fine under Apache,
but when I've moved to "svnserve",
the post-commit hooks have stoped to work.

SVN is 1.1.3.
Comand line is "/usr/bin/svnserve --daemon -r /var/spool/svn".
There are multiple repo-directories in "/var/spool/svn",
e.g. "/var/spool/svn/svntest".
"/var/spool/svn/svntest" is a valid repository with hooks dir and
executable post-commit script inside it. But it is not called.
"svnserve" is running under root, so there must be no permissions-related
problems.

I ran svnserve with "--foreground" option, but I didn't see any output.

What sould I check first?
Or only GDB will help? ;-)

Thanks,
Serge.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Hooks does not work with standalone "svnserve"

Posted by Max Bowsher <ma...@ukf.net>.
Sergey Proskurnya wrote:
> Hi all,
>
> uhhh, strange problems.
> SVN have worked just fine under Apache,
> but when I've moved to "svnserve",
> the post-commit hooks have stoped to work.
>
> SVN is 1.1.3.
> Comand line is "/usr/bin/svnserve --daemon -r /var/spool/svn".
> There are multiple repo-directories in "/var/spool/svn",
> e.g. "/var/spool/svn/svntest".
> "/var/spool/svn/svntest" is a valid repository with hooks dir and
> executable post-commit script inside it. But it is not called.
> "svnserve" is running under root, so there must be no permissions-related
> problems.
>
> I ran svnserve with "--foreground" option, but I didn't see any output.
>
> What sould I check first?
> Or only GDB will help? ;-)

The very first thing you should do is have the hook script start writing 
some log information to a file in /tmp, so you can tell that it is 
successfully being invoked.

You could also try posting the contents of the hook script here, for people 
to check.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org