##// END OF EJS Templates
gendoc: fall back to pure modules if C extensions are not available (issue1711)
Cédric Duval -
r9130:335f749c default
parent child Browse files
Show More
@@ -1,6 +1,8 b''
1 import sys, textwrap
1 import os, sys, textwrap
2 # import from the live mercurial repo
2 # import from the live mercurial repo
3 sys.path.insert(0, "..")
3 sys.path.insert(0, "..")
4 # fall back to pure modules if required C extensions are not available
5 sys.path.append(os.path.join('..', 'mercurial', 'pure'))
4 from mercurial import demandimport; demandimport.enable()
6 from mercurial import demandimport; demandimport.enable()
5 from mercurial.commands import table, globalopts
7 from mercurial.commands import table, globalopts
6 from mercurial.i18n import gettext, _
8 from mercurial.i18n import gettext, _
General Comments 0
You need to be logged in to leave comments. Login now