# HG changeset patch # User Pierre-Yves David # Date 1459334687 25200 # Node ID ca8674a8fce47f147346a4bad062c729edfa0ed3 # Parent 880aac9dbfa62149429a24672074f435a5b6d7b4 destination: 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 880aac9dbfa6 -r ca8674a8fce4 hgext3rd/topic/destination.py --- a/hgext3rd/topic/destination.py Wed Mar 30 03:44:37 2016 -0700 +++ b/hgext3rd/topic/destination.py Wed Mar 30 03:44:47 2016 -0700 @@ -1,9 +1,13 @@ -from mercurial import error -from mercurial import util -from mercurial import destutil -from mercurial import extensions -from mercurial import bookmarks +from __future__ import absolute_import + from mercurial.i18n import _ +from mercurial import ( + bookmarks, + destutil, + error, + extensions, + util, +) def _destmergebranch(orig, repo, action='merge', sourceset=None, onheadcheck=True): p1 = repo['.']