# HG changeset patch # User Pierre-Yves David # Date 1459334699 25200 # Node ID 9d6d30e36cdd8184edaeda6b3fcac0521a3f7297 # Parent ca8674a8fce47f147346a4bad062c729edfa0ed3 discovery: 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 ca8674a8fce4 -r 9d6d30e36cdd hgext3rd/topic/discovery.py --- a/hgext3rd/topic/discovery.py Wed Mar 30 03:44:47 2016 -0700 +++ b/hgext3rd/topic/discovery.py Wed Mar 30 03:44:59 2016 -0700 @@ -1,8 +1,14 @@ +from __future__ import absolute_import + import weakref -from mercurial import branchmap -from mercurial import error -from mercurial import exchange + from mercurial.i18n import _ +from mercurial import ( + branchmap, + error, + exchange, +) + from . import topicmap def _headssummary(orig, repo, remote, outgoing):