changeset 5806:1ac158fae24e

evolve: rearrange some imports Let's group import from Mercurial.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 27 Feb 2021 18:07:27 +0800
parents bb0e53bb5c67
children 837b9fee065e
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Sat Feb 27 18:02:03 2021 +0800
+++ b/hgext3rd/evolve/__init__.py	Sat Feb 27 18:07:27 2021 +0800
@@ -259,9 +259,6 @@
 import sys
 
 import mercurial
-from mercurial import util
-
-from mercurial import obsolete
 
 from mercurial import (
     bookmarks as bookmarksmod,
@@ -272,8 +269,10 @@
     hg,
     lock as lockmod,
     node as nodemod,
+    obsolete,
     pycompat,
     revset,
+    util,
 )
 
 from mercurial.i18n import _