[PATCH] cmdutil: drop redundant import of merge module
Yuya Nishihara
yuya at tcha.org
Sun Mar 18 04:39:20 UTC 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1521345243 -32400
# Sun Mar 18 12:54:03 2018 +0900
# Node ID a81427a2726fb71ae6cfbb5501734f69b7866aea
# Parent 395f0824cb28c050ab650011c95a514c750f6400
cmdutil: drop redundant import of merge module
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2358,8 +2358,6 @@ def amend(ui, repo, old, extra, pats, op
if subs:
subrepoutil.writestate(repo, newsubstate)
- # avoid cycle (TODO: should be removed in default branch)
- from . import merge as mergemod
ms = mergemod.mergestate.read(repo)
mergeutil.checkunresolved(ms)
More information about the Mercurial-devel
mailing list