Re: [svn 1.3.0] post-commit can not running?
From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-08 13:40:04 CET
On Jan 8, 2006, at 13:33, Ryan Schmidt wrote:
> The hooks run with NO environment, not even a PATH, not even the
And of course you have to actually pass the arguments along:
#!/bin/sh
REPOS="$1"
/usr/local/svnrepos/pyblosxom/hooks/post-commit.py "$REPOS" "$REV"
But you already knew that. I just forgot it in my example.
I also wanted to point out that the post-commit.tmpl file provided
> # The default working directory for the invocation is undefined, so
And of course:
> # The hook program typically does not inherit the environment of
---------------------------------------------------------------------
|
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.