[vhffs-dev] [1185] Working hooks with private repository.

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


Revision: 1185
Author:   florent
Date:     2008-04-05 21:14:34 +0200 (Sat, 05 Apr 2008)

Log Message:
-----------
Working hooks with private repository.

Modified Paths:
--------------
    tags/vhffs-4.1.0/vhffs-robots/src/svn_public.pl
    trunk/vhffs-robots/src/svn_public.pl


Modified: tags/vhffs-4.1.0/vhffs-robots/src/svn_public.pl
===================================================================
--- tags/vhffs-4.1.0/vhffs-robots/src/svn_public.pl	2008-04-05 16:25:18 UTC (rev 1184)
+++ tags/vhffs-4.1.0/vhffs-robots/src/svn_public.pl	2008-04-05 19:14:34 UTC (rev 1185)
@@ -65,6 +65,8 @@
 	} else {
 		Vhffs::Robots::vhffs_log( sprintf( "SVN change status %s is now private" , $svn->get_dir ) , $vhffs);
 		Vhffs::Functions::chmod_recur( $svn->get_dir , 0660 , 02770 );
+		chmod ( 02771 , $svn->get_dir );
+		chmod ( 02771 , $svn->get_dir.'/hooks' );
 	}
 
 	Vhffs::Robots::Svn::change_conf( $svn );

Modified: trunk/vhffs-robots/src/svn_public.pl
===================================================================
--- trunk/vhffs-robots/src/svn_public.pl	2008-04-05 16:25:18 UTC (rev 1184)
+++ trunk/vhffs-robots/src/svn_public.pl	2008-04-05 19:14:34 UTC (rev 1185)
@@ -65,6 +65,8 @@
 	} else {
 		Vhffs::Robots::vhffs_log( sprintf( "SVN change status %s is now private" , $svn->get_dir ) , $vhffs);
 		Vhffs::Functions::chmod_recur( $svn->get_dir , 0660 , 02770 );
+		chmod ( 02771 , $svn->get_dir );
+		chmod ( 02771 , $svn->get_dir.'/hooks' );
 	}
 
 	Vhffs::Robots::Svn::change_conf( $svn );


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