hgext3rd/topic/__init__.py
changeset 1932 880aac9dbfa6
parent 1918 a840c5b5bbaf
child 1939 4268fdd11b74
--- a/hgext3rd/topic/__init__.py	Wed Mar 30 03:56:14 2016 -0700
+++ b/hgext3rd/topic/__init__.py	Wed Mar 30 03:44:37 2016 -0700
@@ -10,37 +10,43 @@
 This is sort of similar to a bookmark, but it applies to a whole
 series instead of a single revision.
 """
+from __future__ import absolute_import
+
 import contextlib
 import re
 
 from mercurial.i18n import _
-from mercurial import branchmap
-from mercurial import bundle2
-from mercurial import changegroup
-from mercurial import cmdutil
-from mercurial import commands
-from mercurial import context
-from mercurial import discovery as discoverymod
-from mercurial import error
-from mercurial import exchange
-from mercurial import extensions
-from mercurial import localrepo
-from mercurial import lock
-from mercurial import merge
-from mercurial import namespaces
-from mercurial import node
-from mercurial import obsolete
-from mercurial import patch
-from mercurial import phases
-from mercurial import util
-from mercurial import wireproto
+from mercurial import (
+    branchmap,
+    bundle2,
+    changegroup,
+    cmdutil,
+    commands,
+    context,
+    discovery as discoverymod,
+    error,
+    exchange,
+    extensions,
+    localrepo,
+    lock,
+    merge,
+    namespaces,
+    node,
+    obsolete,
+    patch,
+    phases,
+    util,
+    wireproto,
+)
 
-from . import constants
-from . import revset as topicrevset
-from . import destination
-from . import stack
-from . import topicmap
-from . import discovery
+from . import (
+    constants,
+    revset as topicrevset,
+    destination,
+    stack,
+    topicmap,
+    discovery,
+)
 
 cmdtable = {}
 command = cmdutil.command(cmdtable)