https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114742
Revision: 114742
Author: demon
Date: 2012-04-05 17:49:22 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
make-wmf-branch: Make wmf/ part of what is passed, not hardcoded
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-05 17:22:04 UTC (rev
114741)
+++ trunk/tools/make-wmf-branch/make-wmf-branch 2012-04-05 17:49:22 UTC (rev
114742)
@@ -8,7 +8,7 @@
if ( count( $argv ) < 3 ) {
echo "Usage: make-wmf-branch <new-version> <old-version>\n";
- echo "Example: make-wmf-branch 1.20r1 1.20r2\n";
+ echo "Example: make-wmf-branch wmf/1.20r1 wmf/1.20r2\n";
exit( 1 );
}
@@ -94,7 +94,7 @@
$this->chdir( 'wmf' );
# Create a new branch from master and switch to it
- $this->runCmd( 'git', 'checkout', '-q', '-b',
"wmf/{$this->newVersion}" );
+ $this->runCmd( 'git', 'checkout', '-q', '-b',
"{$this->newVersion}" );
# Delete extensions/README and extensions/.gitignore
$this->runWriteCmd( 'git', 'rm', '-q', "extensions/README",
"extensions/.gitignore" );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs