comparison mercurial/templatekw.py @ 25984:c57509e88922

templatekw: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 20:09:43 -0700
parents 47469fa8fb01
children e4609ec959f8
comparison
equal deleted inserted replaced
25983:1245049da5f3 25984:c57509e88922
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from node import hex 8 from __future__ import absolute_import
9 import patch, scmutil, util, error 9
10 import hbisect 10 from .node import hex
11 from . import (
12 error,
13 hbisect,
14 patch,
15 scmutil,
16 util,
17 )
11 18
12 # This helper class allows us to handle both: 19 # This helper class allows us to handle both:
13 # "{files}" (legacy command-line-specific list hack) and 20 # "{files}" (legacy command-line-specific list hack) and
14 # "{files % '{file}\n'}" (hgweb-style with inlining and function support) 21 # "{files % '{file}\n'}" (hgweb-style with inlining and function support)
15 # and to access raw values: 22 # and to access raw values: