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, master has been updated
       via  7325724ff3dcd4ed2551cbe162eaccb5db00927d (commit)
      from  fb6465ee9951d80118f67835516468c2f4442c7f (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=7325724ff3dcd4ed2551cbe162eaccb5db00927d

commit 7325724ff3dcd4ed2551cbe162eaccb5db00927d
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