# HG changeset patch # User Gregory Szorc # Date 2015-08-09 03:09:43 # Node ID c57509e889227d559a3b8957019c110b3ffc5df5 # Parent 1245049da5f35cc4d06e1cef9a6381dc53dc947c templatekw: use absolute_import diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -5,9 +5,16 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from node import hex -import patch, scmutil, util, error -import hbisect +from __future__ import absolute_import + +from .node import hex +from . import ( + error, + hbisect, + patch, + scmutil, + util, +) # This helper class allows us to handle both: # "{files}" (legacy command-line-specific list hack) and