mercurial/templater.py
changeset 25985 7eb357b5f774
parent 25815 e71e5629e006
child 26104 0f1bc7faa50d
--- a/mercurial/templater.py	Sat Aug 08 20:09:43 2015 -0700
+++ b/mercurial/templater.py	Sat Aug 08 18:23:53 2015 -0700
@@ -5,12 +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 i18n import _
-import os, re
-import util, config, templatefilters, templatekw, parser, error
-import revset as revsetmod
+from __future__ import absolute_import
+
+import os
+import re
 import types
-import minirst
+
+from .i18n import _
+from . import (
+    config,
+    error,
+    minirst,
+    parser,
+    revset as revsetmod,
+    templatefilters,
+    templatekw,
+    util,
+)
 
 # template parsing