Mercurial > hg
comparison doc/gendoc.py @ 9142:63cfacb7917e
merge with crew-stable
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 15 Jul 2009 17:44:47 +0200 |
parents | 335f749cc369 |
children | d6eecafaf12f b6cb3af61582 |
comparison
equal
deleted
inserted
replaced
9141:78b81646a2e4 | 9142:63cfacb7917e |
---|---|
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 |