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, 6.0 has been updated
       via  64d39eb038118eb02dbe1bd2c17fd01daf451a1e (commit)
      from  41541b6490512e8243c2ee14b9dd74e6a7fb3bc7 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=64d39eb038118eb02dbe1bd2c17fd01daf451a1e

commit 64d39eb038118eb02dbe1bd2c17fd01daf451a1e
Author: Franck Villaume <[email protected]>
Date:   Sun Feb 21 19:43:44 2016 +0100

    fix [#808]: invalid UseNewInfoFmtStrings keyword with CVS 1.11

diff --git a/src/plugins/scmcvs/common/CVSPlugin.class.php 
b/src/plugins/scmcvs/common/CVSPlugin.class.php
index e8c5127..422051c 100644
--- a/src/plugins/scmcvs/common/CVSPlugin.class.php
+++ b/src/plugins/scmcvs/common/CVSPlugin.class.php
@@ -3,7 +3,7 @@
  * FusionForge CVS plugin
  *
  * Copyright 2004-2009, Roland Mas
- * Copyright 2013, Franck Villaume - TrivialDev
+ * Copyright 2013,2016, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge.
  *
@@ -257,7 +257,13 @@ over it to the project's administrator.");
                        system ("chmod 3777 $locks_dir") ;
 
                        if (forge_get_config('use_shell')) {
-                               util_create_file_with_contents 
("$repo/CVSROOT/config", 
"SystemAuth=no\nLockDir=$locks_dir\nUseNewInfoFmtStrings=yes\n");
+                               $cvs_binary_version = get_cvs_binary_version();
+                               if ($cvs_binary_version == '1.12') {
+                                       
util_create_file_with_contents("$repo/CVSROOT/config", 
"SystemAuth=no\nLockDir=$locks_dir\nUseNewInfoFmtStrings=yes\n");
+                               }
+                               if ($cvs_binary_version == '1.11') {
+                                       
util_create_file_with_contents("$repo/CVSROOT/config", 
"SystemAuth=no\nLockDir=$locks_dir\n");
+                               }
                                if ($project->enableAnonSCM()) {
                                        util_create_file_with_contents 
("$repo/CVSROOT/readers", "anonymous\n");
                                        util_create_file_with_contents 
("$repo/CVSROOT/passwd", "anonymous:\n");

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

Summary of changes:
 src/plugins/scmcvs/common/CVSPlugin.class.php | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to