[vhffs-dev] [858] Improved SVN post commit script

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 858
Author:   gradator
Date:     2007-09-03 18:13:01 +0000 (Mon, 03 Sep 2007)

Log Message:
-----------
Improved SVN post commit script

Modified Paths:
--------------
    trunk/vhffs-robots/misc/vhffs_post_commit.pl


Modified: trunk/vhffs-robots/misc/vhffs_post_commit.pl
===================================================================
--- trunk/vhffs-robots/misc/vhffs_post_commit.pl	2007-09-03 18:09:13 UTC (rev 857)
+++ trunk/vhffs-robots/misc/vhffs_post_commit.pl	2007-09-03 18:13:01 UTC (rev 858)
@@ -30,20 +30,13 @@
 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 # POSSIBILITY OF SUCH DAMAGE.
 
+use strict;
 use POSIX qw(locale_h);
 use locale;
 use Locale::gettext;
-use strict;
 
-use SVN::Notify;
-use File::Basename;
-
 use lib '%VHFFS_LIB_DIR%';
 use Vhffs::Main;
-use Vhffs::User;
-use Vhffs::Conf;
-use Vhffs::Group;
-use Vhffs::Functions;
 use Vhffs::Services::Svn;
 
 my $repopath = $ARGV[0];
@@ -64,6 +57,8 @@
 # MODE : mailinglist
 if( $svn->{ml_name} ne '' )
 {
+	use SVN::Notify;
+
 	my %params = (
 		repos_path => $repopath,
 		revision => $rev,


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/