Show More
@@ -153,10 +153,18 b' the pager is active::' | |||
|
153 | 153 | If ``pagermode`` is not defined, the ``mode`` will be used. |
|
154 | 154 | ''' |
|
155 | 155 | |
|
156 | import os | |
|
156 | from __future__ import absolute_import | |
|
157 | 157 | |
|
158 | from mercurial import cmdutil, commands, dispatch, extensions, subrepo, util | |
|
159 |
from mercurial import |
|
|
158 | import os | |
|
159 | from mercurial import ( | |
|
160 | cmdutil, | |
|
161 | commands, | |
|
162 | dispatch, | |
|
163 | extensions, | |
|
164 | subrepo, | |
|
165 | ui as uimod, | |
|
166 | util, | |
|
167 | ) | |
|
160 | 168 | from mercurial.i18n import _ |
|
161 | 169 | |
|
162 | 170 | cmdtable = {} |
@@ -523,7 +531,8 b' def debugcolor(ui, repo, **opts):' | |||
|
523 | 531 | if os.name != 'nt': |
|
524 | 532 | w32effects = None |
|
525 | 533 | else: |
|
526 |
import |
|
|
534 | import ctypes | |
|
535 | import re | |
|
527 | 536 | |
|
528 | 537 | _kernel32 = ctypes.windll.kernel32 |
|
529 | 538 |
@@ -3,7 +3,6 b'' | |||
|
3 | 3 | $ cd "$TESTDIR"/.. |
|
4 | 4 | |
|
5 | 5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
|
6 | hgext/color.py not using absolute_import | |
|
7 | 6 | hgext/eol.py not using absolute_import |
|
8 | 7 | hgext/extdiff.py not using absolute_import |
|
9 | 8 | hgext/factotum.py not using absolute_import |
General Comments 0
You need to be logged in to leave comments.
Login now