[PATCH 7 of 9] test-walkrepo: alias ui as uimod
Yuya Nishihara
yuya at tcha.org
Mon Apr 4 11:07:40 EDT 2016
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1459682022 -32400
# Sun Apr 03 20:13:42 2016 +0900
# Node ID 8ee664af1cc683f97610be6fe1be9eca513929f0
# Parent c06bc6d115136a8876a6036bea42731edb0c96aa
test-walkrepo: alias ui as uimod
diff --git a/tests/test-walkrepo.py b/tests/test-walkrepo.py
--- a/tests/test-walkrepo.py
+++ b/tests/test-walkrepo.py
@@ -5,7 +5,7 @@ import os
from mercurial import (
hg,
scmutil,
- ui,
+ ui as uimod,
util,
)
@@ -16,7 +16,7 @@ pjoin = os.path.join
walkrepos = scmutil.walkrepos
checklink = util.checklink
-u = ui.ui()
+u = uimod.ui()
sym = checklink('.')
hg.repository(u, 'top1', create=1)
More information about the Mercurial-devel
mailing list