Pre-commit svn wrapper check
From: David Coppit <subversion_at_coppit.org>
Date: 2005-02-06 05:34:20 CET
My systems staff doesn't want to change /usr/bin/svn, so I have put my
Here's a pre-commit script that will double check that svn+ssh is getting
#!/usr/bin/perl
use strict;
my $repository_machine = 'ENTER YOUR REPOSITORY MACHINE HERE';
my $user = `whoami`;
my $svn = `ssh $user\@$repository_machine which svn`;
if ($svn ne "$wrapped_svn_path/svn")
If we let you continue, you could corrupt the database! Here's the svn that
exit 0;
I hope that helps anyone else in the same boat as me.
David
_____________________________________________________________________
---------------------------------------------------------------------
|
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.