equal
deleted
inserted
replaced
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, _ |
7 from mercurial.help import helptable |
9 from mercurial.help import helptable |
8 |
10 |