Show More
@@ -5,14 +5,33 b'' | |||
|
5 | 5 | # This software may be used and distributed according to the terms of the |
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | |
|
8 | from i18n import gettext, _ | |
|
9 | import itertools, os, textwrap | |
|
10 |
import |
|
|
11 | import extensions, revset, fileset, templatekw, templatefilters, filemerge | |
|
12 |
import te |
|
|
13 | import encoding, util, minirst | |
|
14 | import cmdutil | |
|
15 | import hgweb.webcommands as webcommands | |
|
8 | from __future__ import absolute_import | |
|
9 | ||
|
10 | import itertools | |
|
11 | import os | |
|
12 | import textwrap | |
|
13 | ||
|
14 | from .i18n import ( | |
|
15 | _, | |
|
16 | gettext, | |
|
17 | ) | |
|
18 | from . import ( | |
|
19 | cmdutil, | |
|
20 | encoding, | |
|
21 | error, | |
|
22 | extensions, | |
|
23 | filemerge, | |
|
24 | fileset, | |
|
25 | minirst, | |
|
26 | revset, | |
|
27 | templatefilters, | |
|
28 | templatekw, | |
|
29 | templater, | |
|
30 | util, | |
|
31 | ) | |
|
32 | from .hgweb import ( | |
|
33 | webcommands, | |
|
34 | ) | |
|
16 | 35 | |
|
17 | 36 | _exclkeywords = [ |
|
18 | 37 | "(DEPRECATED)", |
@@ -111,7 +130,7 b' def topicmatch(ui, kw):' | |||
|
111 | 130 | or lowercontains(header) |
|
112 | 131 | or (callable(doc) and lowercontains(doc(ui)))): |
|
113 | 132 | results['topics'].append((names[0], header)) |
|
114 | import commands # avoid cycle | |
|
133 | from . import commands # avoid cycle | |
|
115 | 134 | for cmd, entry in commands.table.iteritems(): |
|
116 | 135 | if len(entry) == 3: |
|
117 | 136 | summary = entry[2] |
@@ -268,7 +287,7 b' def help_(ui, name, unknowncmd=False, fu' | |||
|
268 | 287 | 'name' is None, describe the commands available. |
|
269 | 288 | ''' |
|
270 | 289 | |
|
271 | import commands # avoid cycle | |
|
290 | from . import commands # avoid cycle | |
|
272 | 291 | |
|
273 | 292 | def helpcmd(name, subtopic=None): |
|
274 | 293 | try: |
@@ -105,7 +105,6 b'' | |||
|
105 | 105 | mercurial/dirstate.py not using absolute_import |
|
106 | 106 | mercurial/dispatch.py requires print_function |
|
107 | 107 | mercurial/exchange.py not using absolute_import |
|
108 | mercurial/help.py not using absolute_import | |
|
109 | 108 | mercurial/httpclient/__init__.py not using absolute_import |
|
110 | 109 | mercurial/httpclient/_readers.py not using absolute_import |
|
111 | 110 | mercurial/httpclient/socketutil.py not using absolute_import |
General Comments 0
You need to be logged in to leave comments.
Login now