r103326 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103325‎ | r103326 | r103327 >
Date:14:33, 16 November 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Export extensions of old version also

Don't diff gif or svg
Modified paths:
  • /trunk/tools/make-release/make-release (modified) (history)

Diff [purge]

Index: trunk/tools/make-release/make-release
@@ -174,7 +174,7 @@
175175 dir2 += '/languages/messages'
176176 else:
177177 print "Generating normal patch file..."
178 - args.extend(['-x', 'messages', '-x', '*.png', '-x', '*.jpg', '-x', '*.xcf'])
 178+ args.extend(['-x', 'messages', '-x', '*.png', '-x', '*.jpg', '-x', '*.xcf', '-x', '*.gif', '-x', '*.svg'])
179179
180180 args.extend([dir1, dir2])
181181 print ' '.join(args)
@@ -232,6 +232,10 @@
233233 if prevVersion != None:
234234 prevDir = 'mediawiki-' + prevVersion
235235 export(prevBranch, prevDir)
 236+
 237+ for ext in extensions:
 238+ exportExtension(prevBranch, ext, prevDir)
 239+
236240 makePatch(dir + '/' + package + '.patch.gz', prevDir, package, 'normal')
237241 outFiles.append(package + '.patch.gz')
238242 haveI18n = False

Comments

#Comment by Hashar (talk | contribs)   09:37, 25 November 2011

Why not SVG? Aren't they XML files? :-)

#Comment by Reedy (talk | contribs)   12:01, 25 November 2011

They are, it just seemed easier to exclude them aswell... Can always be reverted

Status & tagging log