Commits

Steve Borho committed ee583fb

hard code the tags to use for stable releases

hand-tag Mercurial since we will be releasing with arbitrary hg-stable changesets.

Comments (0)

Files changed (1)

         run(r'hg clone %s build-hg' % branch)
     else:
         run(r'hg pull', 'build-hg')
+
+    # Apply local tag for THG release build
+    if '+' in tag:
+        r, hash = tag.split('+')
+        run(r'hg tag -r %s -l %s' % (hash, tag), 'build-hg')
+
     run(r'hg update ' + tag, 'build-hg')
     # Comment the next line to use MSVC to build Mercurial
     run(r'copy misc\setup.cfg build-hg')
     elif opt == '--thg-release':
         buildthg = True
         thgbranch = 'stable'
-        thgtag = lasttag('tortoisehg')
+        thgtag = '0.8.2'
         hgbranch = 'hg-stable'
-        hgtag = lasttag(hgbranch)
+        hgtag = '1.3.1+1444a42f6052'
         isccopts.append('/F"TortoiseHg-%s-hg-%s"' % (thgtag, hgtag))
         isccopts.append('/DVERSION=' + thgtag)
     elif opt == '--thg-nightly':