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

Re: post-commit not executing

From: Mahesh S Kudva <mahesh.kudva_at_robosoftin.com>
Date: 2005-11-26 06:05:12 CET


I figured it out. I added a the user who is running the httpd to the
authentication database and it worked like a beauty

Regards & Thanks
Mahesh S Kudva

-----Original Message-----
From: Ryan Schmidt <subversion-2005@ryandesign.com>
To: Mahesh S Kudva <mahesh.kudva@robosoftin.com>
Cc: users@subversion.tigris.org
Date: Fri, 25 Nov 2005 13:26:55 +0100
Subject: Re: post-commit not executing

> On Nov 25, 2005, at 13:05, Mahesh S Kudva wrote:
> > I have subversion setup and is working fine. post-commit is not
> > working.
> > when I check the logs I can see the error "user www not found".
> > This is
> > the user who starts httpd. However i can see that the commit works
> > fine.
> Need more info.....
> You are presumably serving your repository with Apache2 on a Unix-
> like OS?
> What log does it say that in?
> Is your post-commit hook named "post-commit", located in the hooks
> directory and executable by the www user?
> Are you remembering that a hook script runs with no environment, so
> you need to use absolute paths to all programs and files?
> If you run your post-commit hook from the command line like this:
> cd /path/to/repo/hooks
> env -i ./post-commit
> does it work? If not, it won't work when called from Subversion either.
> Can you try if a simple one-line post-commit hook which writes into a
> log file works?
> echo hello >> /tmp/hook.log

Robosoft Technologies - Partners in Product Development

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 26 05:58:10 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.