Changeset 640bc4baf39f…
Parent 89afd9ca662c…
by
Changes to one file · Browse files at 640bc4baf39f Showing diff from parent 89afd9ca662c Diff from another changeset...
@@ -21,7 +21,8 @@ installenv = os.environ
# default to TortoiseHg stable build config
-branch = 'stable'
+hgbranch = 'stable'
+thgbranch = 'stable'
def run(cmd, cwd='.', hide=False, env=installenv):
if not hide:
@@ -49,19 +50,24 @@
try:
opts, args = getopt.getopt(sys.argv[1:], 'h',
- ['thg-stable', 'thg-unstable', 'help'])
+ ['thg-stable', 'thg-unstable', 'thg-fogcreek', 'help'])
except getopt.error, msg:
pass
# parse options
for opt, arg in opts:
if opt == '--thg-stable':
- branch = 'stable'
+ hgbranch = 'stable'
+ thgbranch = 'stable'
elif opt == '--thg-unstable':
- branch = 'default'
+ hgbranch = 'default'
+ thgbranch = 'default'
+ elif opt == '--thg-fogcreek':
+ hgbranch = 'stable'
+ thgbranch = 'fogcreek'
-checkrepo('hg', branch)
-checkrepo('thg', branch)
+checkrepo('hg', hgbranch)
+checkrepo('thg', thgbranch)
print 'Copying QT plugins from %s' % qtplugindir
shutil.rmtree('dist/TortoiseHg.app', ignore_errors=True)
|
Loading...