Mercurial > evolve
diff hgext3rd/topic/stack.py @ 1936:31583ddda6d9
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 30 Mar 2016 03:45:18 -0700 |
parents | 8f8a48a2e97d |
children | 61f36480740f |
line wrap: on
line diff
--- 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