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

Re: Same old question about REPOS and REV in post-commit

From: Jacob Atzen <jacob_at_aub.dk>
Date: 2005-01-18 14:00:04 CET

On Tue, Jan 18, 2005 at 12:26:05PM -0000, Gavin Henry wrote:
> Spent the morning trawling through the user list archives, and I have done
> all tests to check that post-commit is running with commit-email.pl i.e.
>
> ./post-commit /pathname revnum
>
> Works fine, but what else to I add to get these commandline vars to be
> passed to post-commit, as they are just not getting to it.

I think we need a little more info to help.

- Is your post-commit script located in the hooks directory of your
  repository?

- Is it "executable by the user(s) who will invoke it (typically the
  user httpd runs as)"? And does the user have filesystem-level
  permission to access the repository?

- Is the commit-email.pl script locate so the post-commit script can get
  to it? Have you set the path to the commit-email.pl script?

- What happens if you add the following to your post-commit script:

        echo $REPOS $REV >> /tmp/svn-log

  Do you get the expected output in /tmp/svn-log?
  

-- 
Cheers,
- Jacob Atzen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 18 14:02:37 2005

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