mercurial/destutil.py
changeset 31025 6cf2857526c7
parent 30962 11c253997b0e
child 32381 b9942bc6b292
--- a/mercurial/destutil.py	Sun Feb 19 18:19:33 2017 +0900
+++ b/mercurial/destutil.py	Sun Feb 19 20:00:18 2017 +0900
@@ -12,6 +12,7 @@
     bookmarks,
     error,
     obsolete,
+    scmutil,
 )
 
 def _destupdateobs(repo, clean):
@@ -342,9 +343,6 @@
 
 def desthistedit(ui, repo):
     """Default base revision to edit for `hg histedit`."""
-    # Avoid cycle: scmutil -> revset -> destutil
-    from . import scmutil
-
     default = ui.config('histedit', 'defaultrev', histeditdefaultrevset)
     if default:
         revs = scmutil.revrange(repo, [default])