mercurial/formatter.py
changeset 25950 175873e36d03
parent 25838 31137258ae8b
child 26372 55de800937e0
--- a/mercurial/formatter.py	Sat Aug 08 19:15:09 2015 -0700
+++ b/mercurial/formatter.py	Sat Aug 08 19:17:40 2015 -0700
@@ -5,13 +5,23 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+from __future__ import absolute_import
+
 import cPickle
-from node import hex, short
-from i18n import _
-import encoding, util
-import templater
 import os
 
+from .i18n import _
+from .node import (
+    hex,
+    short,
+)
+
+from . import (
+    encoding,
+    templater,
+    util,
+)
+
 class baseformatter(object):
     def __init__(self, ui, topic, opts):
         self._ui = ui