# HG changeset patch # User Pierre-Yves David # Date 1459334718 25200 # Node ID 31583ddda6d9bb64d02e957b28ddf6e0a85f94b6 # Parent 11d7403192806b1e433ee45018685734d309a993 stack: 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 11d740319280 -r 31583ddda6d9 hgext3rd/topic/stack.py --- a/hgext3rd/topic/stack.py Wed Mar 30 03:45:10 2016 -0700 +++ b/hgext3rd/topic/stack.py Wed Mar 30 03:45:18 2016 -0700 @@ -4,8 +4,10 @@ # GNU General Public License version 2 or any later version. import collections from mercurial.i18n import _ -from mercurial import error -from mercurial import obsolete +from mercurial import ( + error, + obsolete, +) def getstack(repo, topic): # XXX need sorting