--- 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])