D6191: tests: rename "u" to more usual "ui" in test-context.py
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Apr 3 17:52:51 UTC 2019
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6191
AFFECTED FILES
tests/test-context.py
CHANGE DETAILS
diff --git a/tests/test-context.py b/tests/test-context.py
--- a/tests/test-context.py
+++ b/tests/test-context.py
@@ -27,9 +27,9 @@
out.write(data + end)
out.flush()
-u = uimod.ui.load()
+ui = uimod.ui.load()
-repo = hg.repository(u, b'test1', create=1)
+repo = hg.repository(ui, b'test1', create=1)
os.chdir('test1')
# create 'foo' with fixed time stamp
@@ -172,7 +172,7 @@
# test manifestlog being changed
print('== commit with manifestlog invalidated')
-repo = hg.repository(u, b'test2', create=1)
+repo = hg.repository(ui, b'test2', create=1)
os.chdir('test2')
# make some commits
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list