equal
deleted
inserted
replaced
4 |
4 |
5 import sys, os |
5 import sys, os |
6 import optparse |
6 import optparse |
7 |
7 |
8 # import from the live mercurial repo |
8 # import from the live mercurial repo |
|
9 os.environ['HGMODULEPOLICY'] = 'py' |
9 sys.path.insert(0, "..") |
10 sys.path.insert(0, "..") |
10 # fall back to pure modules if required C extensions are not available |
|
11 sys.path.append(os.path.join('..', 'mercurial', 'pure')) |
|
12 from mercurial import demandimport; demandimport.enable() |
11 from mercurial import demandimport; demandimport.enable() |
13 from mercurial.commands import table |
12 from mercurial.commands import table |
14 from mercurial.help import helptable |
13 from mercurial.help import helptable |
15 from mercurial import extensions |
14 from mercurial import extensions |
16 from mercurial import minirst |
15 from mercurial import minirst |