# HG changeset patch # User Gregory Szorc # Date 1439088393 25200 # Node ID f14cea32e1d406ded5a955bb52f051dcf8afe467 # Parent e6b56b2c1f26aedbe3aafe4bee02698656844444 phases: use absolute_import diff -r e6b56b2c1f26 -r f14cea32e1d4 mercurial/phases.py --- 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:]