--- a/mercurial/statichttprepo.py Sat Aug 08 19:56:22 2015 -0700
+++ b/mercurial/statichttprepo.py Sat Aug 08 20:11:08 2015 -0700
@@ -7,10 +7,26 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-from i18n import _
-import changelog, byterange, url, error, namespaces
-import localrepo, manifest, util, scmutil, store
-import urllib, urllib2, errno, os
+from __future__ import absolute_import
+
+import errno
+import os
+import urllib
+import urllib2
+
+from .i18n import _
+from . import (
+ byterange,
+ changelog,
+ error,
+ localrepo,
+ manifest,
+ namespaces,
+ scmutil,
+ store,
+ url,
+ util,
+)
class httprangereader(object):
def __init__(self, url, opener):