RE: post-revprop-change Hook Script
From: Meeran, Noorie <Noorie_Meeran_at_cable.comcast.com>
Date: 2006-01-27 20:21:29 CET
I only have the #!/usr/local/bin/perl and a print "hello"; statement in the post-revprop-change. When I run it with env -i ./post-revprop-change , the script executes and hello is printed to the screen.
When I try to commit some file, my commit fails. Is there any other way to debug this problem. Is there any error log files or anything that is created somewhere! help please.
-----Original Message-----
>> you must specify the absolute path to the file, for example:
Probably just a typo, but make sure you're not confusing Perl (.pl)
As Chris said, make sure the first line of the script points to the
Hook scripts run with an empty environment. This is why you need to
You can simulate this on the shell by calling your script through the
env -i ./post-revprop-change
And then thankfully you can see any output the script sends to stdout
You can even build this into the first line of the script by writing,
---------------------------------------------------------------------
|
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.