comparison tests/test-check-py3-compat.t @ 28970:4f86c3bed63b

py3: make extdiff use absolute_import
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 17 Apr 2016 02:15:05 +0530
parents cca011fd1ea7
children bacca31f4835
comparison
equal deleted inserted replaced
28969:cca011fd1ea7 28970:4f86c3bed63b
1 #require test-repo 1 #require test-repo
2 2
3 $ cd "$TESTDIR"/.. 3 $ cd "$TESTDIR"/..
4 4
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py 5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 hgext/extdiff.py not using absolute_import
7 hgext/factotum.py not using absolute_import 6 hgext/factotum.py not using absolute_import
8 hgext/fetch.py not using absolute_import 7 hgext/fetch.py not using absolute_import
9 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import 8 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import
10 hgext/fsmonitor/pywatchman/__init__.py requires print_function 9 hgext/fsmonitor/pywatchman/__init__.py requires print_function
11 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import 10 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import
70 hgext/convert/monotone.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) 69 hgext/convert/monotone.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
71 hgext/convert/p*.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) 70 hgext/convert/p*.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
72 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) 71 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
73 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) 72 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob)
74 hgext/eol.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) 73 hgext/eol.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)
75 hgext/extdiff.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) 74 hgext/extdiff.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
76 hgext/factotum.py: error importing: <ImportError> No module named 'httplib' (error at url.py:*) (glob) 75 hgext/factotum.py: error importing: <ImportError> No module named 'httplib' (error at url.py:*) (glob)
77 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) 76 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
78 hgext/fsmonitor/watchmanclient.py: error importing module: <SystemError> Parent module 'hgext.fsmonitor' not loaded, cannot perform relative import (line *) (glob) 77 hgext/fsmonitor/watchmanclient.py: error importing module: <SystemError> Parent module 'hgext.fsmonitor' not loaded, cannot perform relative import (line *) (glob)
79 hgext/gpg.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) 78 hgext/gpg.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
80 hgext/graphlog.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) 79 hgext/graphlog.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob)