r44647 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44646‎ | r44647 | r44648 >
Date:03:35, 16 December 2008
Author:tstarling
Status:ok
Tags:
Comment:
* diff -N
* Fixed i18n directory test
Modified paths:
  • /trunk/release-tools/make-release (modified) (history)

Diff [purge]

Index: trunk/release-tools/make-release
@@ -159,7 +159,7 @@
160160
161161 def makePatch(patchFileName, dir1, dir2, type):
162162 patchFile = open(patchFileName, 'w')
163 - args = ['diff', '-ru']
 163+ args = ['diff', '-Nru']
164164 if type == 'i18n':
165165 print "Generating i18n patch file..."
166166 dir1 += '/languages/messages'
@@ -216,7 +216,7 @@
217217 makePatch(dir + '/' + package + '.patch.gz', prevDir, package, 'normal')
218218 outFiles.append(package + '.patch.gz')
219219 haveI18n = False
220 - if os.path.exists(dir+'/languages/messages'):
 220+ if os.path.exists(package+'/languages/messages'):
221221 i18nPatch = 'mediawiki-i18n-' + version + '.patch.gz'
222222 if (makePatch(dir + '/' + i18nPatch, prevDir, package, 'i18n')):
223223 outFiles.append(i18nPatch)

Status & tagging log