hgext/children.py
changeset 28093 7353cacd5d54
parent 27716 3501bd89dad2
child 28799 ccab2923a093
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