RE: post-revprop-change Hook Script
From: Meeran, Noorie <Noorie_Meeran_at_cable.comcast.com>
Date: 2006-01-27 15:56:42 CET
I can run this script with just echo messages, but I am not able to run when i put a perl script in there. If i manually run the file with ./post-revprop-change i can run the script, so shell can excute the perl interpreter. Is there a problem with apache/svnserve not able to run perl scripts?
-----Original Message-----
1) The hook script will be executed by the user who owns your
2) Make sure '#! /usr/bin/perl' is the first line of your script, so
Regards,
Chris
-----Original Message-----
I have written a perl script inside post-revprop-change hook file. When
-----Original Message-----
> I have the repository on a unix machine and I am trying to run the
> file to post-revprop-change and all I have in the file is a echo
you must specify the absolute path to the file, for example:
echo hello > /tmp/test
For most commands you must also supply the absolute path to their
/usr/local/bin/svnlook [...]
> I even tried
the output of a post-commit or post-revprop-change hook is never shown
---------------------------------------------------------------------
This communication is confidential and may be legally privileged. If you are not the intended recipient, (i) please do not read or disclose to others, (ii) please notify the sender by reply mail, and (iii) please delete this communication from your system. Failure to follow this process may be unlawful. Thank you for your cooperation.
---------------------------------------------------------------------
|
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.