Mercurial > hg
changeset 25966:f14cea32e1d4
phases: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:46:33 -0700 |
parents | e6b56b2c1f26 |
children | 224a33452ed4 |
files | mercurial/phases.py |
diffstat | 1 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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:]