##// END OF EJS Templates
templater: use absolute_import
Gregory Szorc -
r25985:7eb357b5 default
parent child Browse files
Show More
@@ -5,12 +5,23 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 from i18n import _
8 from __future__ import absolute_import
9 import os, re
9
10 import util, config, templatefilters, templatekw, parser, error
10 import os
11 import revset as revsetmod
11 import re
12 import types
12 import types
13 import minirst
13
14 from .i18n import _
15 from . import (
16 config,
17 error,
18 minirst,
19 parser,
20 revset as revsetmod,
21 templatefilters,
22 templatekw,
23 util,
24 )
14
25
15 # template parsing
26 # template parsing
16
27
@@ -112,9 +112,6 b' hidden by deduplication algorithm in the'
112 these may expose other cycles.
112 these may expose other cycles.
113
113
114 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
114 $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
115 mercurial/templater.py mixed imports
116 stdlib: parser
117 relative: config, error, templatefilters, templatekw, util
118 mercurial/ui.py mixed imports
115 mercurial/ui.py mixed imports
119 stdlib: formatter
116 stdlib: formatter
120 relative: config, error, progress, scmutil, util
117 relative: config, error, progress, scmutil, util
General Comments 0
You need to be logged in to leave comments. Login now