changeset 1935:11d740319280

revset: 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:10 -0700
parents 9d6d30e36cdd
children 31583ddda6d9
files hgext3rd/topic/revset.py
diffstat 1 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/revset.py	Wed Mar 30 03:44:59 2016 -0700
+++ b/hgext3rd/topic/revset.py	Wed Mar 30 03:45:10 2016 -0700
@@ -1,9 +1,17 @@
-from mercurial import error
-from mercurial import revset
-from mercurial import util
+from __future__ import absolute_import
+
 from mercurial.i18n import _
+from mercurial import (
+    error,
+    revset,
+    util,
+)
 
-from . import constants, destination, stack
+from . import (
+    constants,
+    destination,
+    stack,
+)
 
 try:
     mkmatcher = revset._stringmatcher