[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 52e94c86eb90676a5a013213da12e4abbddf5e0b

Julien HEYMAN jheyman at fusionforge.org
Tue Feb 25 17:58:33 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_2 has been updated
       via  52e94c86eb90676a5a013213da12e4abbddf5e0b (commit)
      from  b3c7519d10814e66598724aef1142a15763e8598 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 52e94c86eb90676a5a013213da12e4abbddf5e0b
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Tue May 28 22:58:30 2013 +0200

    plugin scmsvn: fix logic. run chmod, chown after repository initialisation

diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php b/src/plugins/scmsvn/common/SVNPlugin.class.php
index 20b25c1..15248c9 100644
--- a/src/plugins/scmsvn/common/SVNPlugin.class.php
+++ b/src/plugins/scmsvn/common/SVNPlugin.class.php
@@ -260,6 +260,7 @@ class SVNPlugin extends SCMPlugin {
 			if ($ret != 0) {
 				return false;
 			}
+			system ("svn mkdir -m'Init' file:///$repo/trunk file:///$repo/tags file:///$repo/branches >/dev/null") ;
 			if (forge_get_config('use_ssh', 'scmsvn')) {
 				$unix_group = 'scm_' . $project->getUnixName() ;
 				system ("find $repo -type d | xargs -I{} chmod g+s {}") ;
@@ -275,7 +276,6 @@ class SVNPlugin extends SCMPlugin {
 				system ("chmod -R g-rwx,o-rwx $repo") ;
 				system ("chown -R $unix_user:$unix_group $repo") ;
 			}
-			system ("svn mkdir -m'Init' file:///$repo/trunk file:///$repo/tags file:///$repo/branches >/dev/null") ;
 		}
 
 		$this->installOrUpdateCmds($project, $project->getUnixName(), $repo);

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmsvn/common/SVNPlugin.class.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list