https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114828

Revision: 114828
Author:   demon
Date:     2012-04-10 19:02:31 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Syntax errors galore!

Modified Paths:
--------------
    trunk/tools/make-wmf-branch/make-wmf-branch

Modified: trunk/tools/make-wmf-branch/make-wmf-branch
===================================================================
--- trunk/tools/make-wmf-branch/make-wmf-branch 2012-04-10 19:01:23 UTC (rev 
114827)
+++ trunk/tools/make-wmf-branch/make-wmf-branch 2012-04-10 19:02:31 UTC (rev 
114828)
@@ -146,11 +146,12 @@
                # Add extension submodules
                foreach ( array_merge( $this->normalExtensions, 
$this->specialExtensions, $this->branchedExtensions ) as $name ) {
                        if( in_array( $name, $this->branchedExtensions ) ) {
-                               $this->runWriteCmd( 'git', 'submodule', 'add', 
'-b', $newVersion '-q',
+                               $this->runWriteCmd( 'git', 'submodule', 'add', 
'-b', $newVersion, '-q',
                                        
"{$this->baseRepoPath}/extensions/{$name}.git", "extensions/$name" );           
        
                        } else {
                                $this->runWriteCmd( 'git', 'submodule', 'add', 
'-q',
                                        
"{$this->baseRepoPath}/extensions/{$name}.git", "extensions/$name" );
+                       }
                        if( isset( $preservedRefs[$name] ) ) {
                                file_put_contents( "extensions/$name", 
$preservedRefs[$name] ); 
                        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to