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

Re: Re: "Advanced" problems with post-commit

From: Michael Pfeiffer <virtual_worlds_at_gmx.de>
Date: 2006-07-09 19:58:36 CEST

Hi Ryan,

thank you for your fast reply.

> > - edited commit-email.pl to use absolute paths for sendmail and
> > svnlook
> > - edited commit-email.pl at the first appearance of $repos, here I
> > had to set the absolute path to my repository directory to let
> > svnlook find there pository handed over as $repos
> I'm not sure why you're having to edit commit-email.pl. It's supposed
> to be a self-contained script that just works.

When I don't set the absolute path it doesn't finds the repository when I call it from command line. May be thats because I use an own, specific path where the reops are located at?

> If you run "env -i ./post-commit" on the command line, does it still
> work? "env -i" ignores environment variables. So if it then fails to
> work, you may still have relative paths around somewhere.

That works - at least when I have this abolute repository path thingy inside the script.

> Another possibility: make sure the user under which your repository
> runs (for example the apache user if you're serving under apache) has
> the ability to read and execute the hook script and the commit-email
> script.

Yes, the user is privileged to do that.


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jul 9 20:00:10 2006

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