equal
deleted
inserted
replaced
4 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
4 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
5 # |
5 # |
6 # This software may be used and distributed according to the terms of the |
6 # This software may be used and distributed according to the terms of the |
7 # GNU General Public License version 2 or any later version. |
7 # GNU General Public License version 2 or any later version. |
8 |
8 |
|
9 from __future__ import absolute_import |
|
10 |
9 import os |
11 import os |
10 import hgweb_mod, hgwebdir_mod |
12 |
|
13 from . import ( |
|
14 hgweb_mod, |
|
15 hgwebdir_mod, |
|
16 ) |
11 |
17 |
12 def hgweb(config, name=None, baseui=None): |
18 def hgweb(config, name=None, baseui=None): |
13 '''create an hgweb wsgi object |
19 '''create an hgweb wsgi object |
14 |
20 |
15 config can be one of: |
21 config can be one of: |