Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/request.py @ 27046:37fcfe52c68c
hgweb: use absolute_import
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Oct 2015 22:07:40 +0900 |
parents | 7c1b4840c2cd |
children | 482d6f6dba91 |
comparison
equal
deleted
inserted
replaced
27045:eac72c1e1e0d | 27046:37fcfe52c68c |
---|---|
4 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> | 4 # Copyright 2005, 2006 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 import socket, cgi, errno | 9 from __future__ import absolute_import |
10 from mercurial import util | 10 |
11 from common import ErrorResponse, statusmessage, HTTP_NOT_MODIFIED | 11 import cgi |
12 import errno | |
13 import socket | |
14 | |
15 from .common import ( | |
16 ErrorResponse, | |
17 HTTP_NOT_MODIFIED, | |
18 statusmessage, | |
19 ) | |
20 | |
21 from .. import ( | |
22 util, | |
23 ) | |
12 | 24 |
13 shortcuts = { | 25 shortcuts = { |
14 'cl': [('cmd', ['changelog']), ('rev', None)], | 26 'cl': [('cmd', ['changelog']), ('rev', None)], |
15 'sl': [('cmd', ['shortlog']), ('rev', None)], | 27 'sl': [('cmd', ['shortlog']), ('rev', None)], |
16 'cs': [('cmd', ['changeset']), ('node', None)], | 28 'cs': [('cmd', ['changeset']), ('node', None)], |