--- a/mercurial/hgweb/request.py Sun Nov 01 15:09:35 2015 +0900
+++ b/mercurial/hgweb/request.py Sat Oct 31 22:07:40 2015 +0900
@@ -6,9 +6,21 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-import socket, cgi, errno
-from mercurial import util
-from common import ErrorResponse, statusmessage, HTTP_NOT_MODIFIED
+from __future__ import absolute_import
+
+import cgi
+import errno
+import socket
+
+from .common import (
+ ErrorResponse,
+ HTTP_NOT_MODIFIED,
+ statusmessage,
+)
+
+from .. import (
+ util,
+)
shortcuts = {
'cl': [('cmd', ['changelog']), ('rev', None)],