[Fusionforge-commits] r8305 - trunk/gforge/plugins/scmsvn/common

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Oct 17 17:25:30 CEST 2009


Author: aljeux
Date: 2009-10-17 17:25:30 +0200 (Sat, 17 Oct 2009)
New Revision: 8305

Modified:
   trunk/gforge/plugins/scmsvn/common/SVNPlugin.class.php
Log:
Removed --fs-type fsfs when creating a svn repo, now the default and one variable fix

Modified: trunk/gforge/plugins/scmsvn/common/SVNPlugin.class.php
===================================================================
--- trunk/gforge/plugins/scmsvn/common/SVNPlugin.class.php	2009-10-17 13:50:55 UTC (rev 8304)
+++ trunk/gforge/plugins/scmsvn/common/SVNPlugin.class.php	2009-10-17 15:25:30 UTC (rev 8305)
@@ -192,7 +192,7 @@
 		$unix_group = 'scm_' . $project->getUnixName() ;
 
 		if (!is_dir ($repo) || !is_file ("$repo/format")) {
-			system ("svnadmin create --fs-type fsfs $repo") ;
+			system ("svnadmin create $repo") ;
 			system ("svn mkdir -m'Init' file:///$repo/trunk file:///$repo/tags file:///$repo/branches") ;
 			system ("find $repo -type d | xargs chmod g+s") ;
 		}
@@ -205,7 +205,7 @@
 				system ("chmod -R g+wX,o-rwx $repo") ;
 			}
 		} else {
-			$unix_user = $sys_apache_user ;
+			$unix_user = $GLOBALS['sys_apache_user'];
 			system ("chown -R $unix_user:$unix_group $repo") ;
 			if ($project->enableAnonSCM()) {
 				system ("chmod -R g+wX,o+rX-w $repo") ;




More information about the Fusionforge-commits mailing list