topicmap: move to new style import
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 30 Mar 2016 03:45:29 -0700
changeset 1937 60b7de2b3dd1
parent 1936 31583ddda6d9
child 1938 7e31d3e79806
topicmap: move to new style import This unify with the new core Mercurial usage and this will make future changes to the imports easier to track.
hgext3rd/topic/topicmap.py
--- a/hgext3rd/topic/topicmap.py	Wed Mar 30 03:45:18 2016 -0700
+++ b/hgext3rd/topic/topicmap.py	Wed Mar 30 03:45:29 2016 -0700
@@ -1,9 +1,11 @@
-from mercurial import branchmap
-from mercurial import encoding
-from mercurial import error
-from mercurial import scmutil
-from mercurial import util
 from mercurial.node import hex, bin, nullid
+from mercurial import (
+    branchmap,
+    encoding,
+    error,
+    scmutil,
+    util,
+)
 
 def _filename(repo):
     """name of a branchcache file for a given repo or repoview"""