[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 105ee402584285171889899a6d373b0067b10f0f

Roland Mas lolando at fusionforge.org
Wed May 22 09:32:09 CEST 2013


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  105ee402584285171889899a6d373b0067b10f0f (commit)
      from  367b0f11c1343e022893b31d0ec97ac28b20adf2 (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 105ee402584285171889899a6d373b0067b10f0f
Author: Roland Mas <lolando at debian.org>
Date:   Wed May 22 09:31:54 2013 +0200

    Cope with users creating Bazaar branches at the top of their repositories

diff --git a/src/plugins/scmbzr/common/BzrPlugin.class.php b/src/plugins/scmbzr/common/BzrPlugin.class.php
index 400215d..90f91c8 100644
--- a/src/plugins/scmbzr/common/BzrPlugin.class.php
+++ b/src/plugins/scmbzr/common/BzrPlugin.class.php
@@ -168,7 +168,8 @@ class BzrPlugin extends SCMPlugin {
 			$line = fgets ($pipe) ;
 			fclose ($pipe) ;
 
-			if (preg_match ("/^Shared repository/", $line) != 0) {
+			if (preg_match ("/^Shared repository/", $line) != 0
+			    || preg_match ("/^Repository branch/", $line) != 0) {
 				$repo_exists = true ;
 			}
 		}

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

Summary of changes:
 src/plugins/scmbzr/common/BzrPlugin.class.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list