Need help with pre-revprop-change Hook
From: Michael Knigge <Michael.Knigge_at_SET-Software.de>
Date: 2007-12-05 12:36:44 CET
All,
I've trouble getting a pre-revprop-change Hook Script running. My hook
I don't know if this a Subversion issue or a issue of my really bad Perl
echo "foo" | pre-revprop-change 1 2 3 4 5
my "$value" is correctly filled....
Any ideas? Thank you so far,
Here is my hook:
#!/usr/bin/perl
$ENV{'LC_ALL'} = "de_DE.iso885915\@euro";
$rep = shift @ARGV;
while (<>) { $value = $value.$_; }
if($action ne "M" or $propname ne "svn:log")
if (not substr($value, 0, index($value, ": ")) =~ /^\d+$/)
exit(0);
---------------------------------------------------------------------
|
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.