Show More
@@ -27,10 +27,10 b' except NameError:' | |||
|
27 | 27 | |
|
28 | 28 | _languages = None |
|
29 | 29 | if (os.name == 'nt' |
|
30 |
and 'LANGUAGE' not in |
|
|
31 |
and 'LC_ALL' not in |
|
|
32 |
and 'LC_MESSAGES' not in |
|
|
33 |
and 'LANG' not in |
|
|
30 | and 'LANGUAGE' not in encoding.environ | |
|
31 | and 'LC_ALL' not in encoding.environ | |
|
32 | and 'LC_MESSAGES' not in encoding.environ | |
|
33 | and 'LANG' not in encoding.environ): | |
|
34 | 34 | # Try to detect UI language by "User Interface Language Management" API |
|
35 | 35 | # if no locale variables are set. Note that locale.getdefaultlocale() |
|
36 | 36 | # uses GetLocaleInfo(), which may be different from UI language. |
@@ -92,9 +92,10 b' def gettext(message):' | |||
|
92 | 92 | return _msgcache[message] |
|
93 | 93 | |
|
94 | 94 | def _plain(): |
|
95 | if 'HGPLAIN' not in os.environ and 'HGPLAINEXCEPT' not in os.environ: | |
|
95 | if ('HGPLAIN' not in encoding.environ | |
|
96 | and 'HGPLAINEXCEPT' not in encoding.environ): | |
|
96 | 97 | return False |
|
97 |
exceptions = |
|
|
98 | exceptions = encoding.environ.get('HGPLAINEXCEPT', '').strip().split(',') | |
|
98 | 99 | return 'i18n' not in exceptions |
|
99 | 100 | |
|
100 | 101 | if _plain(): |
@@ -17,101 +17,96 b'' | |||
|
17 | 17 | > | xargs $PYTHON3 contrib/check-py3-compat.py \ |
|
18 | 18 | > | sed 's/[0-9][0-9]*)$/*)/' |
|
19 | 19 | doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) |
|
20 |
hgext/acl.py: error importing: <TypeError> |
|
|
21 |
hgext/automv.py: error importing: <TypeError> |
|
|
22 |
hgext/blackbox.py: error importing: <TypeError> |
|
|
23 |
hgext/bugzilla.py: error importing: <TypeError> |
|
|
24 |
hgext/censor.py: error importing: <TypeError> |
|
|
25 |
hgext/chgserver.py: error importing: <TypeError> |
|
|
26 |
hgext/children.py: error importing: <TypeError> |
|
|
27 |
hgext/churn.py: error importing: <TypeError> |
|
|
28 |
hgext/clonebundles.py: error importing: <TypeError> |
|
|
29 |
hgext/color.py: error importing: <TypeError> |
|
|
30 | hgext/convert/bzr.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
31 |
|
|
|
32 |
hgext/convert/convcmd.py: error importing: <TypeError> |
|
|
33 |
hgext/convert/cvs.py: error importing: <TypeError> |
|
|
34 |
hgext/convert/cvsps.py: error importing: <TypeError> |
|
|
35 |
hgext/convert/darcs.py: error importing: <TypeError> |
|
|
36 | hgext/convert/filemap.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
37 |
|
|
|
38 |
hgext/convert/gnuarch.py: error importing: <TypeError> |
|
|
39 |
hgext/convert/hg.py: error importing: <TypeError> |
|
|
40 |
hgext/convert/monotone.py: error importing: <TypeError> |
|
|
41 |
hgext/convert/p4.py: error importing: <TypeError> |
|
|
42 |
hgext/convert/subversion.py: error importing: <TypeError> |
|
|
20 | hgext/acl.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
21 | hgext/automv.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
22 | hgext/blackbox.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
23 | hgext/bugzilla.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
24 | hgext/censor.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
25 | hgext/chgserver.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
26 | hgext/children.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
27 | hgext/churn.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
28 | hgext/clonebundles.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
29 | hgext/color.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
30 | hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) | |
|
31 | hgext/convert/common.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
32 | hgext/convert/convcmd.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
33 | hgext/convert/cvs.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
34 | hgext/convert/cvsps.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
35 | hgext/convert/darcs.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
36 | hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) | |
|
37 | hgext/convert/git.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
38 | hgext/convert/gnuarch.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
39 | hgext/convert/hg.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
40 | hgext/convert/monotone.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
41 | hgext/convert/p4.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
42 | hgext/convert/subversion.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
43 | 43 | hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) |
|
44 |
hgext/eol.py: error importing: <TypeError> |
|
|
45 |
hgext/extdiff.py: error importing: <TypeError> |
|
|
46 |
hgext/factotum.py: error importing: <TypeError> |
|
|
47 |
hgext/fetch.py: error importing: <TypeError> |
|
|
48 |
hgext/fsmonitor/state.py: error importing: <TypeError> |
|
|
49 |
hgext/fsmonitor/watchmanclient.py: error importing: <TypeError> |
|
|
50 |
hgext/gpg.py: error importing: <TypeError> |
|
|
51 |
hgext/graphlog.py: error importing: <TypeError> |
|
|
52 |
hgext/hgk.py: error importing: <TypeError> |
|
|
53 |
hgext/histedit.py: error importing: <TypeError> |
|
|
54 |
hgext/journal.py: error importing: <TypeError> |
|
|
55 |
hgext/keyword.py: error importing: <TypeError> |
|
|
56 |
hgext/largefiles/basestore.py: error importing: <TypeError> |
|
|
57 |
hgext/largefiles/lfcommands.py: error importing: <TypeError> |
|
|
58 |
hgext/largefiles/lfutil.py: error importing: <TypeError> |
|
|
59 |
hgext/largefiles/localstore.py: error importing: < |
|
|
60 |
|
|
|
61 |
hgext/largefiles/proto.py: error importing: <TypeError> |
|
|
62 |
hgext/largefiles/remotestore.py: error importing: <TypeError> |
|
|
63 |
hgext/largefiles/reposetup.py: error importing: <TypeError> |
|
|
64 |
hgext/largefiles/storefactory.py: error importing: <TypeError> |
|
|
65 |
hgext/largefiles/uisetup.py: error importing: <TypeError> |
|
|
44 | hgext/eol.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
45 | hgext/extdiff.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
46 | hgext/factotum.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
47 | hgext/fetch.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
48 | hgext/fsmonitor/state.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
49 | hgext/fsmonitor/watchmanclient.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
50 | hgext/gpg.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
51 | hgext/graphlog.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
52 | hgext/hgk.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
53 | hgext/histedit.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
54 | hgext/journal.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
55 | hgext/keyword.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
56 | hgext/largefiles/basestore.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
57 | hgext/largefiles/lfcommands.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
58 | hgext/largefiles/lfutil.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
59 | hgext/largefiles/localstore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) | |
|
60 | hgext/largefiles/overrides.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
61 | hgext/largefiles/proto.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
62 | hgext/largefiles/remotestore.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
63 | hgext/largefiles/reposetup.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
64 | hgext/largefiles/storefactory.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
65 | hgext/largefiles/uisetup.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
66 | 66 | hgext/largefiles/wirestore.py: error importing module: <SystemError> Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) |
|
67 |
hgext/mq.py: error importing: <TypeError> |
|
|
68 |
hgext/notify.py: error importing: <TypeError> |
|
|
69 |
hgext/pager.py: error importing: <TypeError> |
|
|
70 |
hgext/patchbomb.py: error importing: <TypeError> |
|
|
71 |
hgext/purge.py: error importing: <TypeError> |
|
|
72 |
hgext/rebase.py: error importing: <TypeError> |
|
|
73 |
hgext/record.py: error importing: <TypeError> |
|
|
74 |
hgext/relink.py: error importing: <TypeError> |
|
|
75 |
hgext/schemes.py: error importing: <TypeError> |
|
|
76 |
hgext/share.py: error importing: <TypeError> |
|
|
77 |
hgext/shelve.py: error importing: <TypeError> |
|
|
78 |
hgext/strip.py: error importing: <TypeError> |
|
|
79 |
hgext/transplant.py: error importing: <TypeError> |
|
|
80 |
hgext/win32 |
|
|
81 |
|
|
|
82 |
mercurial/ |
|
|
83 |
mercurial/b |
|
|
84 |
mercurial/b |
|
|
85 |
mercurial/bundle |
|
|
86 |
mercurial/b |
|
|
87 |
mercurial/ |
|
|
88 |
mercurial/change |
|
|
89 |
mercurial/c |
|
|
90 |
mercurial/c |
|
|
91 |
mercurial/commands.py: error importing: <TypeError> |
|
|
92 |
mercurial/co |
|
|
93 |
mercurial/con |
|
|
94 |
mercurial/co |
|
|
95 |
mercurial/c |
|
|
96 |
mercurial/ |
|
|
97 |
mercurial/d |
|
|
98 |
mercurial/d |
|
|
99 |
mercurial/d |
|
|
100 | mercurial/dirstate.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
101 | mercurial/discovery.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
102 | mercurial/dispatch.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
67 | hgext/mq.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
68 | hgext/notify.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
69 | hgext/pager.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
70 | hgext/patchbomb.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
71 | hgext/purge.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
72 | hgext/rebase.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
73 | hgext/record.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
74 | hgext/relink.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
75 | hgext/schemes.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
76 | hgext/share.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
77 | hgext/shelve.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
78 | hgext/strip.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
79 | hgext/transplant.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
80 | hgext/win32text.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
81 | mercurial/archival.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
82 | mercurial/bookmarks.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
83 | mercurial/branchmap.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
84 | mercurial/bundle2.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
85 | mercurial/bundlerepo.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
86 | mercurial/byterange.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
87 | mercurial/changegroup.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
88 | mercurial/changelog.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
89 | mercurial/cmdutil.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
90 | mercurial/commands.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
91 | mercurial/commandserver.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
92 | mercurial/config.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
93 | mercurial/context.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
94 | mercurial/copies.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
95 | mercurial/crecord.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
96 | mercurial/destutil.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
97 | mercurial/dirstate.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
98 | mercurial/discovery.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
99 | mercurial/dispatch.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
103 | 100 | mercurial/encoding.py: error importing module: <TypeError> bytes expected, not str (line *) |
|
104 |
mercurial/exchange.py: error importing: <TypeError> |
|
|
105 |
mercurial/extensions.py: error importing: <TypeError> |
|
|
106 |
mercurial/f |
|
|
107 |
mercurial/file |
|
|
108 |
mercurial/file |
|
|
109 |
mercurial/f |
|
|
110 |
mercurial/ |
|
|
111 |
mercurial/ |
|
|
112 |
mercurial/h |
|
|
113 | mercurial/help.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
114 | mercurial/hg.py: error importing: <TypeError> str expected, not bytes (error at i18n.py:*) | |
|
101 | mercurial/exchange.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
102 | mercurial/extensions.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
103 | mercurial/filelog.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
104 | mercurial/filemerge.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
105 | mercurial/fileset.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
106 | mercurial/formatter.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
107 | mercurial/graphmod.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
108 | mercurial/help.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
109 | mercurial/hg.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
115 | 110 | mercurial/hgweb/common.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
|
116 | 111 | mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
|
117 | 112 | mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
@@ -121,9 +116,10 b'' | |||
|
121 | 116 | mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
|
122 | 117 | mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
|
123 | 118 | mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) |
|
124 |
mercurial/hook.py: error importing: <TypeError> |
|
|
125 |
mercurial/httpconnection.py: error importing: <TypeError> |
|
|
126 |
mercurial/httppeer.py: error importing: <TypeError> |
|
|
119 | mercurial/hook.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
120 | mercurial/httpconnection.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
121 | mercurial/httppeer.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
122 | mercurial/i18n.py: error importing module: <TypeError> bytes expected, not str (line *) | |
|
127 | 123 |
|
|
128 | 124 | mercurial/localrepo.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
|
129 | 125 | mercurial/lock.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
@@ -166,7 +162,7 b'' | |||
|
166 | 162 | mercurial/ui.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
|
167 | 163 | mercurial/unionrepo.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
|
168 | 164 | mercurial/url.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
|
169 |
mercurial/util.py: error importing |
|
|
165 | mercurial/util.py: error importing: <TypeError> encode() argument 1 must be str, not bytes (error at i18n.py:*) | |
|
170 | 166 | mercurial/verify.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) |
|
171 | 167 | mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
|
172 | 168 | mercurial/windows.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
@@ -178,5 +174,5 b'' | |||
|
178 | 174 | $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ |
|
179 | 175 | > | xargs $PYTHON3 contrib/check-py3-compat.py \ |
|
180 | 176 | > | sed 's/[0-9][0-9]*)$/*)/' |
|
181 |
hgext/highlight/highlight.py: error importing: <TypeError> |
|
|
177 | hgext/highlight/highlight.py: error importing: <TypeError> __slots__ items must be strings, not 'bytes' (error at util.py:*) | |
|
182 | 178 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now