--- a/mercurial/obsolete.py Sat Dec 12 13:27:31 2015 -0500
+++ b/mercurial/obsolete.py Sat Dec 12 13:30:47 2015 -0500
@@ -67,10 +67,20 @@
comment associated with each format for details.
"""
-import errno, struct
-import util, base85, node, parsers, error
-import phases
-from i18n import _
+from __future__ import absolute_import
+
+import errno
+import struct
+
+from .i18n import _
+from . import (
+ base85,
+ error,
+ node,
+ parsers,
+ phases,
+ util,
+)
_pack = struct.pack
_unpack = struct.unpack