Show More
@@ -564,7 +564,7 b' def main(argv):' | |||
|
564 | 564 | print 'Import cycle:', c |
|
565 | 565 | firstmods.add(first) |
|
566 | 566 | any_errors = True |
|
567 |
return |
|
|
567 | return any_errors != 0 | |
|
568 | 568 | |
|
569 | 569 | if __name__ == '__main__': |
|
570 | 570 | sys.exit(int(main(sys.argv))) |
@@ -101,6 +101,7 b' Run additional tests for the import chec' | |||
|
101 | 101 | testpackage/subpackage/levelpriority.py higher-level import should come first: testpackage |
|
102 | 102 | testpackage/symbolimport.py direct symbol import from testpackage.unsorted |
|
103 | 103 | testpackage/unsorted.py imports not lexically sorted: os < sys |
|
104 | [1] | |
|
104 | 105 | |
|
105 | 106 | $ cd "$TESTDIR"/.. |
|
106 | 107 | |
@@ -129,3 +130,4 b' these may expose other cycles.' | |||
|
129 | 130 | Import cycle: mercurial.cmdutil -> mercurial.context -> mercurial.subrepo -> mercurial.cmdutil |
|
130 | 131 | Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore |
|
131 | 132 | Import cycle: mercurial.commands -> mercurial.commandserver -> mercurial.dispatch -> mercurial.commands |
|
133 | [1] |
General Comments 0
You need to be logged in to leave comments.
Login now