Show More
@@ -3,10 +3,10 b' import os' | |||
|
3 | 3 | from mercurial import ( |
|
4 | 4 | hg, |
|
5 | 5 | merge, |
|
6 | ui, | |
|
6 | ui as uimod, | |
|
7 | 7 | ) |
|
8 | 8 | |
|
9 | u = ui.ui() | |
|
9 | u = uimod.ui() | |
|
10 | 10 | |
|
11 | 11 | repo = hg.repository(u, 'test1', create=1) |
|
12 | 12 | os.chdir('test1') |
@@ -1,7 +1,9 b'' | |||
|
1 | 1 | from __future__ import absolute_import, print_function |
|
2 | 2 | |
|
3 | 3 | import os |
|
4 |
from mercurial import |
|
|
4 | from mercurial import ( | |
|
5 | ui as uimod, | |
|
6 | ) | |
|
5 | 7 | |
|
6 | 8 | hgrc = os.environ['HGRCPATH'] |
|
7 | 9 | f = open(hgrc) |
@@ -30,7 +32,7 b' for i in xrange(64):' | |||
|
30 | 32 | f.write('debug = True\n') |
|
31 | 33 | f.close() |
|
32 | 34 | |
|
33 | u = ui.ui() | |
|
35 | u = uimod.ui() | |
|
34 | 36 | if cmd_quiet or cmd_debug or cmd_verbose: |
|
35 | 37 | u.setconfig('ui', 'quiet', str(bool(cmd_quiet))) |
|
36 | 38 | u.setconfig('ui', 'verbose', str(bool(cmd_verbose))) |
General Comments 0
You need to be logged in to leave comments.
Login now