Reg: Restrict on svn delete.
From: jeya prakash <sv.jeyaprakash_at_gmail.com>
Date: Thu, 22 May 2008 16:39:25 +0530
Hi All,
I am working in the SVN administration part. I would like to restrict svn
and i tried the same with my own script in start-commit hook. refer below:
#!/bin/sh
REPOS="$1"
/usr/bin/perl /data/svntree/scm_test/hooks/test_hooks.pl $USER 1>&2
if [ $? -eq 1 ]
My script: test_hooks.pl
#!/usr/bin/perl
my $SVN_STATUS='/usr/bin/svn status $PWD';
chomp($line);
}
if ($i ne '0')
seems to be that the hook is running in the server. not for the local
with regards,
|
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.