##// END OF EJS Templates
fileset: use absolute_import
Gregory Szorc -
r25938:e194ada8 default
parent child Browse files
Show More
@@ -5,9 +5,17
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 __future__ import absolute_import
9
8 10 import re
9 import parser, error, util, merge
10 from i18n import _
11
12 from .i18n import _
13 from . import (
14 error,
15 merge,
16 parser,
17 util,
18 )
11 19
12 20 elements = {
13 21 # token-type: binding-strength, primary, prefix, infix, suffix
@@ -410,7 +418,7 def subrepo(mctx, x):
410 418 # i18n: "subrepo" is a keyword
411 419 pat = getstring(x, _("subrepo requires a pattern or no arguments"))
412 420
413 import match as matchmod # avoid circular import issues
421 from . import match as matchmod # avoid circular import issues
414 422 fast = not matchmod.patkind(pat)
415 423 if fast:
416 424 def m(s):
@@ -112,9 +112,6 hidden by deduplication algorithm in the
112 112 these may expose other cycles.
113 113
114 114 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
115 mercurial/fileset.py mixed imports
116 stdlib: parser
117 relative: error, merge, util
118 115 mercurial/revset.py mixed imports
119 116 stdlib: parser
120 117 relative: error, hbisect, phases, util
General Comments 0
You need to be logged in to leave comments. Login now