Mercurial > hg
annotate tests/test-check-py3-compat.t @ 30038:42ead5b3aa7b
py3: use unicodes in __slots__
__slots__ doesnot accepts bytes on Python 3.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 02 Oct 2016 03:38:14 +0530 |
parents | cd7276f7ea83 |
children | ff7697b436ab |
rev | line source |
---|---|
27279
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 #require test-repo |
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
2 |
29219
3c9066ed557c
tests: silence test-repo obsolete warning
timeless <timeless@mozdev.org>
parents:
29195
diff
changeset
|
3 $ . "$TESTDIR/helpers-testrepo.sh" |
27279
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
4 $ cd "$TESTDIR"/.. |
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
5 |
27438
f121cf57ca9a
tests: convert directory separators to '/' for MSYS in test-check-py-compat
Matt Harbison <matt_harbison@yahoo.com>
parents:
27361
diff
changeset
|
6 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
28432
2377c4ac4eec
fsmonitor: dependencies for new experimental extension
Martijn Pieters <mjpieters@fb.com>
parents:
28417
diff
changeset
|
7 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import |
2377c4ac4eec
fsmonitor: dependencies for new experimental extension
Martijn Pieters <mjpieters@fb.com>
parents:
28417
diff
changeset
|
8 hgext/fsmonitor/pywatchman/__init__.py requires print_function |
2377c4ac4eec
fsmonitor: dependencies for new experimental extension
Martijn Pieters <mjpieters@fb.com>
parents:
28417
diff
changeset
|
9 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import |
2377c4ac4eec
fsmonitor: dependencies for new experimental extension
Martijn Pieters <mjpieters@fb.com>
parents:
28417
diff
changeset
|
10 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import |
27279
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
11 i18n/check-translation.py not using absolute_import |
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
12 setup.py not using absolute_import |
40eb385f798f
tests: add test for Python 3 compatibility
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
13 tests/test-demandimport.py not using absolute_import |
28583
260ce2eed951
tests: perform an ast parse with Python 3
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28564
diff
changeset
|
14 |
260ce2eed951
tests: perform an ast parse with Python 3
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28564
diff
changeset
|
15 #if py3exe |
29886
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
16 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \ |
29810
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
17 > | xargs $PYTHON3 contrib/check-py3-compat.py \ |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
18 > | sed 's/[0-9][0-9]*)$/*)/' |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
19 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
20 hgext/acl.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
21 hgext/automv.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
22 hgext/blackbox.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
23 hgext/bugzilla.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
24 hgext/censor.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
25 hgext/chgserver.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
26 hgext/children.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
27 hgext/churn.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
28 hgext/clonebundles.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
29 hgext/color.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30035
02328b5d775d
py3: make i18n use encoding.environ
Yuya Nishihara <yuya@tcha.org>
parents:
30034
diff
changeset
|
30 hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
31 hgext/convert/common.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
32 hgext/convert/convcmd.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
33 hgext/convert/cvs.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
34 hgext/convert/cvsps.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
35 hgext/convert/darcs.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30035
02328b5d775d
py3: make i18n use encoding.environ
Yuya Nishihara <yuya@tcha.org>
parents:
30034
diff
changeset
|
36 hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
37 hgext/convert/git.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
38 hgext/convert/gnuarch.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
39 hgext/convert/hg.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
40 hgext/convert/monotone.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
41 hgext/convert/p4.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
42 hgext/convert/subversion.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
29810
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
43 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
44 hgext/eol.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
45 hgext/extdiff.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
46 hgext/factotum.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
47 hgext/fetch.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
48 hgext/fsmonitor/state.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
49 hgext/fsmonitor/watchmanclient.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
50 hgext/gpg.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
51 hgext/graphlog.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
52 hgext/hgk.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
53 hgext/histedit.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
54 hgext/journal.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
55 hgext/keyword.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
56 hgext/largefiles/basestore.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
57 hgext/largefiles/lfcommands.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
58 hgext/largefiles/lfutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30035
02328b5d775d
py3: make i18n use encoding.environ
Yuya Nishihara <yuya@tcha.org>
parents:
30034
diff
changeset
|
59 hgext/largefiles/localstore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
60 hgext/largefiles/overrides.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
61 hgext/largefiles/proto.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
62 hgext/largefiles/remotestore.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
63 hgext/largefiles/reposetup.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
64 hgext/largefiles/storefactory.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
65 hgext/largefiles/uisetup.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
29810
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
66 hgext/largefiles/wirestore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
67 hgext/mq.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
68 hgext/notify.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
69 hgext/pager.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
70 hgext/patchbomb.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
71 hgext/purge.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
72 hgext/rebase.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
73 hgext/record.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
74 hgext/relink.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
75 hgext/schemes.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
76 hgext/share.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
77 hgext/shelve.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
78 hgext/strip.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
79 hgext/transplant.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
80 hgext/win32text.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
81 mercurial/archival.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
82 mercurial/bookmarks.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
83 mercurial/branchmap.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
84 mercurial/bundle2.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
85 mercurial/bundlerepo.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
86 mercurial/byterange.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
87 mercurial/changegroup.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
88 mercurial/changelog.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
89 mercurial/cmdutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
90 mercurial/commands.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
91 mercurial/commandserver.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
92 mercurial/config.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
93 mercurial/context.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
94 mercurial/copies.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
95 mercurial/crecord.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
96 mercurial/destutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
97 mercurial/dirstate.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
98 mercurial/discovery.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
99 mercurial/dispatch.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30034
e4a6b439acc5
py3: provide encoding.environ which is a dict of bytes
Yuya Nishihara <yuya@tcha.org>
parents:
29890
diff
changeset
|
100 mercurial/encoding.py: error importing module: <TypeError> bytes expected, not str (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
101 mercurial/exchange.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
102 mercurial/extensions.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
103 mercurial/filelog.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
104 mercurial/filemerge.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
105 mercurial/fileset.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
106 mercurial/formatter.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
107 mercurial/graphmod.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
108 mercurial/help.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
109 mercurial/hg.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
29810
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
110 mercurial/hgweb/common.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
111 mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
112 mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
113 mercurial/hgweb/protocol.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
114 mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
115 mercurial/hgweb/server.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
116 mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
117 mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
118 mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
119 mercurial/hook.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
120 mercurial/httpconnection.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
121 mercurial/httppeer.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30035
02328b5d775d
py3: make i18n use encoding.environ
Yuya Nishihara <yuya@tcha.org>
parents:
30034
diff
changeset
|
122 mercurial/i18n.py: error importing module: <TypeError> bytes expected, not str (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
123 mercurial/keepalive.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
124 mercurial/localrepo.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
125 mercurial/lock.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
126 mercurial/mail.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
127 mercurial/manifest.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
128 mercurial/match.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
129 mercurial/mdiff.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
130 mercurial/merge.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
131 mercurial/minirst.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
132 mercurial/namespaces.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
133 mercurial/obsolete.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
134 mercurial/patch.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
135 mercurial/pathutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
136 mercurial/peer.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
137 mercurial/profiling.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
138 mercurial/pushkey.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
139 mercurial/pvec.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
140 mercurial/registrar.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
141 mercurial/repair.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
142 mercurial/repoview.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
143 mercurial/revlog.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
144 mercurial/revset.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
145 mercurial/scmutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
146 mercurial/scmwindows.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
147 mercurial/similar.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
148 mercurial/simplemerge.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
149 mercurial/sshpeer.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
150 mercurial/sshserver.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
151 mercurial/sslutil.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
152 mercurial/statichttprepo.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
153 mercurial/store.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
154 mercurial/streamclone.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
155 mercurial/subrepo.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
156 mercurial/tagmerge.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
157 mercurial/tags.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
158 mercurial/templatefilters.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
159 mercurial/templatekw.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
160 mercurial/templater.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
161 mercurial/transaction.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
162 mercurial/ui.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
163 mercurial/unionrepo.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
164 mercurial/url.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
30035
02328b5d775d
py3: make i18n use encoding.environ
Yuya Nishihara <yuya@tcha.org>
parents:
30034
diff
changeset
|
165 mercurial/util.py: error importing: <TypeError> encode() argument 1 must be str, not bytes (error at i18n.py:*) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
166 mercurial/verify.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
29810
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
167 mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
ceff91dea404
py3: automatically glob out line numbers from check-py3-compat output
Yuya Nishihara <yuya@tcha.org>
parents:
29809
diff
changeset
|
168 mercurial/windows.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
169 mercurial/wireproto.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
28583
260ce2eed951
tests: perform an ast parse with Python 3
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28564
diff
changeset
|
170 |
260ce2eed951
tests: perform an ast parse with Python 3
Gregory Szorc <gregory.szorc@gmail.com>
parents:
28564
diff
changeset
|
171 #endif |
29886
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
172 |
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
173 #if py3exe py3pygments |
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
174 $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ |
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
175 > | xargs $PYTHON3 contrib/check-py3-compat.py \ |
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
176 > | sed 's/[0-9][0-9]*)$/*)/' |
30038
42ead5b3aa7b
py3: use unicodes in __slots__
Pulkit Goyal <7895pulkit@gmail.com>
parents:
30037
diff
changeset
|
177 hgext/highlight/highlight.py: error importing: <TypeError> is_frozen() argument must be str, not bytes (error at util.py:*) |
29886
e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
Augie Fackler <augie@google.com>
parents:
29810
diff
changeset
|
178 #endif |