Commits

Steve Borho committed 53885d0

hg-1.9 code freeze, drop fixfrozenexts

  • Participants
  • Parent commits 0d9d33f

Comments (0)

Files changed (2)

File extension-versions.txt

    hgkeyring:	476937ac8644	https://bitbucket.org/Mekk/mercurial_keyring/
      dulwich:	48bef37ec98d	https://bitbucket.org/abderrahim/dulwich/
     iniparse:	bd83edee7300	https://bitbucket.org/sborho/iniparse/
-fixfrozenexts:	491364b8a6fe	https://bitbucket.org/yuja/hgext-fixfrozenexts/
       zipdoc:	8e442b96c80d	https://bitbucket.org/gobell/hg-zipdoc/
-    hgcr-gui:	e9948ede0c63	https://bitbucket.org/glimchb/hgcr-gui/
+    hgcr-gui:	dcc0160aef78	https://bitbucket.org/glimchb/hgcr-gui/
   python-svn:	1.6.13      	http://bitbucket.org/tortoisehg/thg/downloads
     pygments:	1.4         	http://pygments.org/download/
      pywin32:	216         	http://sourceforge.net/projects/pywin32/
 onlymsi = False
 sslcertfile = 'misc/cacert.pem'
 
-# TODO: After hg 1.9 code freeze, remove fixfrozenexts
-
 URL = {
     'hg-main'   : 'http://selenic.com/repo/hg/',
     'cacert.pem': 'http://curl.haxx.se/ca/cacert.pem',
     'dulwich'   : 'https://bitbucket.org/abderrahim/dulwich/',
     'iniparse'  : 'https://bitbucket.org/sborho/iniparse/',
     'hgcr-gui'  : 'https://bitbucket.org/glimchb/hgcr-gui/',
-    'fixfrozenexts' : 'https://bitbucket.org/yuja/hgext-fixfrozenexts/',
   }
 
 extensions = [
     'hgkeyring',
     'dulwich',
     'iniparse',
-    'fixfrozenexts',
     'zipdoc',
     'hgcr-gui',
   ]
     'zipdoc':   ['zipdoc/zipdoc.py'],
     'perfarce': ['perfarce/perfarce.py'],
     'hgkeyring': ['hgkeyring/mercurial_keyring.py'],
-    'fixfrozenexts':['fixfrozenexts/hgext/fixfrozenexts.py'],
     'hgcr-gui': ['hgcr-gui/hgcr-gui-qt.py'],
   }
 
 
 def generate_hgext_index(branch):
     """Generate list of extensions under hgext/"""
-
-    if branch == 'default':
-        run(r'del build-hg\hgext\__index__.*')
-        run_python(r'setup.py build_hgextindex', 'build-hg')
-        return
-
-    # TODO: Remove after hg-1.9
-    from mercurial import help
-    extpath = os.path.join('build-hg', 'hgext')
-
-    paths = {}
-    docs = {}
-    for e in os.listdir(extpath):
-        if e.startswith('_'):
-            continue
-        if e.endswith('.py'):
-            name = e.rsplit('.', 1)[0]
-            path = os.path.join(extpath, e)
-            vpath = 'hgext/%s' % e
-        else:
-            name = e
-            path = os.path.join(extpath, e, '__init__.py')
-            vpath = 'hgext/%s/__init__.py' % e
-        if not os.path.exists(path):
-            continue
-        paths[name] = vpath
-        f = open(path)
-        try:
-            docs[vpath] = help.moduledoc(f)
-        finally:
-            f.close()
-
-    f = open(os.path.join('build-hg', 'hgext', '__index__.py'), 'w')
-    try:
-        f.write('# this file is autogenerated by thg-winbuild\n')
-        f.write('paths = %r\n' % paths)
-        f.write('docs = %r\n' % docs)
-    finally:
-        f.close()
+    run(r'del build-hg\hgext\__index__.*')
+    run_python(r'setup.py build_hgextindex', 'build-hg')
 
 def build_hg(force, branch, tag, arch):
     if onlymsi: