--- a/mercurial/phases.py Sat Aug 08 19:45:45 2015 -0700
+++ b/mercurial/phases.py Sat Aug 08 19:46:33 2015 -0700
@@ -100,11 +100,23 @@
"""
-import os
+from __future__ import absolute_import
+
import errno
-from node import nullid, nullrev, bin, hex, short
-from i18n import _
-import util, error
+import os
+
+from .i18n import _
+from .node import (
+ bin,
+ hex,
+ nullid,
+ nullrev,
+ short,
+)
+from . import (
+ error,
+ util,
+)
allphases = public, draft, secret = range(3)
trackedphases = allphases[1:]