hgext/children.py
changeset 28093 7353cacd5d54
parent 27716 3501bd89dad2
child 28799 ccab2923a093
--- a/hgext/children.py	Tue Feb 09 17:33:10 2016 -0800
+++ b/hgext/children.py	Tue Feb 09 17:34:32 2016 -0800
@@ -14,9 +14,15 @@
 "children(REV)"` instead.
 '''
 
-from mercurial import cmdutil
-from mercurial.commands import templateopts
+from __future__ import absolute_import
+
 from mercurial.i18n import _
+from mercurial import (
+    cmdutil,
+    commands,
+)
+
+templateopts = commands.templateopts
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)