comparison hgext/children.py @ 28093:7353cacd5d54

children: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 09 Feb 2016 17:34:32 -0800
parents 3501bd89dad2
children ccab2923a093
comparison
equal deleted inserted replaced
28092:5166b7a84b72 28093:7353cacd5d54
12 12
13 This extension is deprecated. You should use :hg:`log -r 13 This extension is deprecated. You should use :hg:`log -r
14 "children(REV)"` instead. 14 "children(REV)"` instead.
15 ''' 15 '''
16 16
17 from mercurial import cmdutil 17 from __future__ import absolute_import
18 from mercurial.commands import templateopts 18
19 from mercurial.i18n import _ 19 from mercurial.i18n import _
20 from mercurial import (
21 cmdutil,
22 commands,
23 )
24
25 templateopts = commands.templateopts
20 26
21 cmdtable = {} 27 cmdtable = {}
22 command = cmdutil.command(cmdtable) 28 command = cmdutil.command(cmdtable)
23 # Note for extension authors: ONLY specify testedwith = 'internal' for 29 # Note for extension authors: ONLY specify testedwith = 'internal' for
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 30 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should