Index: trunk/tools/make-release/make-release |
— | — | @@ -154,6 +154,17 @@ |
155 | 155 | sys.exit(1) |
156 | 156 | print "Done" |
157 | 157 | |
| 158 | +def exportExtension(branch, extension, dir): |
| 159 | + print "Exporting extension %s into %s branch..." % (extension, branch) |
| 160 | + proc = subprocess.Popen(['svn', 'export', '-q', '--force', |
| 161 | + 'svn+ssh://svn.wikimedia.org/svnroot/mediawiki/' + branch + '/extensions/' + extension, |
| 162 | + dir + "/" extensions + "/" + extension |
| 163 | + ]) |
| 164 | + if proc.wait() != 0: |
| 165 | + print "svn export failed, exiting" |
| 166 | + sys.exit(1) |
| 167 | + print "Done" |
| 168 | + |
158 | 169 | def makePatch(patchFileName, dir1, dir2, type): |
159 | 170 | patchFile = open(patchFileName, 'w') |
160 | 171 | args = ['diff', '-Nru'] |