[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hooks does not work with standalone "svnserve"

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-02-03 15:17:37 CET

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.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 3 15:30:11 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.