# HG changeset patch # User Pierre-Yves David # Date 1459334729 25200 # Node ID 60b7de2b3dd1e1b310d3f510b27f73c1a9074709 # Parent 31583ddda6d9bb64d02e957b28ddf6e0a85f94b6 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. diff -r 31583ddda6d9 -r 60b7de2b3dd1 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"""