Show More
@@ -112,7 +112,6 b'' | |||
|
112 | 112 | tests/test-ui-config.py not using absolute_import |
|
113 | 113 | tests/test-ui-config.py requires print_function |
|
114 | 114 | tests/test-ui-verbosity.py not using absolute_import |
|
115 | tests/test-ui-verbosity.py requires print_function | |
|
116 | 115 | tests/test-url.py not using absolute_import |
|
117 | 116 | |
|
118 | 117 | #if py3exe |
@@ -296,6 +295,5 b'' | |||
|
296 | 295 | tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
297 | 296 | tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
298 | 297 | tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
299 | tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
|
300 | 298 | |
|
301 | 299 | #endif |
@@ -1,3 +1,5 b'' | |||
|
1 | from __future__ import print_function | |
|
2 | ||
|
1 | 3 | import os |
|
2 | 4 | from mercurial import ui |
|
3 | 5 | |
@@ -6,8 +8,8 b' f = open(hgrc)' | |||
|
6 | 8 | basehgrc = f.read() |
|
7 | 9 | f.close() |
|
8 | 10 | |
|
9 |
print |
|
|
10 |
print |
|
|
11 | print(' hgrc settings command line options final result ') | |
|
12 | print(' quiet verbo debug quiet verbo debug quiet verbo debug') | |
|
11 | 13 | |
|
12 | 14 | for i in xrange(64): |
|
13 | 15 | hgrc_quiet = bool(i & 1<<0) |
@@ -41,7 +43,7 b' for i in xrange(64):' | |||
|
41 | 43 | elif u.verbose and u.quiet: |
|
42 | 44 | check = ' +' |
|
43 | 45 | |
|
44 |
print |
|
|
46 | print(('%2d %5s %5s %5s %5s %5s %5s -> %5s %5s %5s%s' | |
|
45 | 47 | % (i, hgrc_quiet, hgrc_verbose, hgrc_debug, |
|
46 | 48 | cmd_quiet, cmd_verbose, cmd_debug, |
|
47 | u.quiet, u.verbose, u.debugflag, check)) | |
|
49 | u.quiet, u.verbose, u.debugflag, check))) |
General Comments 0
You need to be logged in to leave comments.
Login now