Re: Re: "Advanced" problems with post-commit
From: Bob Proulx <bob_at_proulx.com>
Date: 2006-07-09 20:34:38 CEST
Michael Pfeiffer wrote:
Those scripts already have the absolute paths for sendmail and
Here is what I see in my copy of commit-email.pl:
# Sendmail path.
# Svnlook path.
Why is yours different?
> > > - edited commit-email.pl at the first appearance of $repos, here I
Agreed. The $repos is passed into the script by the post-commit hook
> When I don't set the absolute path it doesn't finds the repository
Perhaps you are trying to invoke the post-commit script differently
REPOS="$1"
/usr/lib/subversion/hook-scripts/commit-email.pl "$REPOS" "$REV" commit-watchers@example.org
> > If you run "env -i ./post-commit" on the command line, does it still
I think you need these arguments:
env -i post-commit $REPOS $REV
For example:
env -i post-commit /srv/svn/myproj 42
> That works - at least when I have this abolute repository path
Then that must be the problem. You need to invoke it when testing
Bob
---------------------------------------------------------------------
|
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.