[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 happening

From: Marilyn Davis <marilyn_at_deliberate.com>
Date: 2005-01-08 20:58:06 CET

On Sat, 8 Jan 2005, Max Bowsher wrote:

> Marilyn Davis wrote:
> > Hi Subversion People,
> >
> > I'm new to Subversion and just setting it up.
> >
> > Everything is perfect except that my post-commit script doesn't
> > happen.
> >
> > My repository is in /safe. The script exists, is in the right place,
> > and is executable:
> >
> > [root@maildance /]# ls -l /safe/hooks/post-commit
> > -rwxr-xr-x 1 root root 506 Jan 7 13:29 /safe/hooks/post-commit*
> >
> > Am I right about that?
> >
> > It works just fine from the command line:
> >
> > [root@maildance /]# /safe/hooks/post-commit /safe 48
> > * Dumped revision 48.
> >
> > What am I missing?
> >
> > Any hints would be greatly appreciated.
>
>
> Hooks are run with an empty environment, i.e. no PATH.

Thank you Max. But I guess I need a bigger hint. I'm not aware that
I'm relying on PATH. I just used the whole path to show where I have
the script.

If I:

cd /safe/hooks

and then I:

./post-commit /safe 48

it still works.

So I still don't know what to do.

Marilyn

>
> Max.
>
>

-- 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 8 21:03:36 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.