##// END OF EJS Templates
revset: don't import discovery at module level...
Gregory Szorc -
r24722:02a5618e default
parent child Browse files
Show More
@@ -6,7 +6,7 b''
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 import re
8 import re
9 import parser, util, error, discovery, hbisect, phases
9 import parser, util, error, hbisect, phases
10 import node
10 import node
11 import heapq
11 import heapq
12 import match as matchmod
12 import match as matchmod
@@ -1372,7 +1372,9 b' def outgoing(repo, subset, x):'
1372 Changesets not found in the specified destination repository, or the
1372 Changesets not found in the specified destination repository, or the
1373 default push location.
1373 default push location.
1374 """
1374 """
1375 import hg # avoid start-up nasties
1375 # Avoid cycles.
1376 import discovery
1377 import hg
1376 # i18n: "outgoing" is a keyword
1378 # i18n: "outgoing" is a keyword
1377 l = getargs(x, 0, 1, _("outgoing takes one or no arguments"))
1379 l = getargs(x, 0, 1, _("outgoing takes one or no arguments"))
1378 # i18n: "outgoing" is a keyword
1380 # i18n: "outgoing" is a keyword
@@ -32,7 +32,7 b' these may expose other cycles.'
32 relative: error, merge, util
32 relative: error, merge, util
33 mercurial/revset.py mixed imports
33 mercurial/revset.py mixed imports
34 stdlib: parser
34 stdlib: parser
35 relative: discovery, error, hbisect, phases, util
35 relative: error, hbisect, phases, util
36 mercurial/templater.py mixed imports
36 mercurial/templater.py mixed imports
37 stdlib: parser
37 stdlib: parser
38 relative: config, error, templatefilters, templatekw, util
38 relative: config, error, templatefilters, templatekw, util
General Comments 0
You need to be logged in to leave comments. Login now