unable to build docs on default

Steve Borho steve at borho.org
Wed Jun 8 23:35:25 CDT 2011


>  C:\Python26x64\python.exe gendoc.py > build-hg/doc/hg.1.gendoc.txt
Traceback (most recent call last):
  File "gendoc.py", line 167, in <module>
    show_doc(sys.stdout)
  File "gendoc.py", line 114, in show_doc
    mod = extensions.load(None, extensionname, None)
  File "..\mercurial\extensions.py", line 73, in load
    mod = importh(name)
  File "..\mercurial\extensions.py", line 65, in importh
    mod = __import__(name)
  File "..\mercurial\demandimport.py", line 85, in _demandimport
    return _origimport(name, globals, locals, fromlist)
ImportError: Import by filename is not supported.

build-hg/doc> C:\Python26x64\python.exe runrst html --link-stylesheet
--stylesheet-path style.css hg.1.txt hg.1.html
hg.1.gendoc.txt:2088: (SEVERE/4) Title level inconsistent:

Branch-based Access Control
...........................
Exiting due to level-4 (SEVERE) system message.


It looks like gendoc.py assumes Mercurial default (pre 1.9) is
installed?  That's a nice chicken-egg loop.

-- 
Steve Borho


More information about the Mercurial-devel mailing list