Kiln » TortoiseHg » MacBuild
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

Support building the Fog Creek branch.

Changeset 640bc4baf39f

Parent 89afd9ca662c

by David Golub

Changes to one file · Browse files at 640bc4baf39f Showing diff from parent 89afd9ca662c Diff from another changeset...

Change 1 of 2 Show Entire File setup.py Stacked
 
21
22
23
24
 
 
25
26
27
 
49
50
51
52
 
53
54
55
56
57
58
59
 
 
60
61
 
 
 
 
 
62
63
64
 
 
65
66
67
 
21
22
23
 
24
25
26
27
28
 
50
51
52
 
53
54
55
56
57
58
59
 
60
61
62
 
63
64
65
66
67
68
 
 
69
70
71
72
73
@@ -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)