changeset 1937:60b7de2b3dd1

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 30 Mar 2016 03:45:29 -0700
parents 31583ddda6d9
children 7e31d3e79806
files hgext3rd/topic/topicmap.py
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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"""