##// END OF EJS Templates
py3: make test-wireproto use print_function
Pulkit Goyal -
r28675:fcafd84b default
parent child Browse files
Show More
@@ -1,306 +1,304 b''
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 contrib/import-checker.py not using absolute_import
6 contrib/import-checker.py not using absolute_import
7 contrib/import-checker.py requires print_function
7 contrib/import-checker.py requires print_function
8 doc/check-seclevel.py not using absolute_import
8 doc/check-seclevel.py not using absolute_import
9 doc/gendoc.py not using absolute_import
9 doc/gendoc.py not using absolute_import
10 doc/hgmanpage.py not using absolute_import
10 doc/hgmanpage.py not using absolute_import
11 hgext/color.py not using absolute_import
11 hgext/color.py not using absolute_import
12 hgext/eol.py not using absolute_import
12 hgext/eol.py not using absolute_import
13 hgext/extdiff.py not using absolute_import
13 hgext/extdiff.py not using absolute_import
14 hgext/factotum.py not using absolute_import
14 hgext/factotum.py not using absolute_import
15 hgext/fetch.py not using absolute_import
15 hgext/fetch.py not using absolute_import
16 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import
16 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import
17 hgext/fsmonitor/pywatchman/__init__.py requires print_function
17 hgext/fsmonitor/pywatchman/__init__.py requires print_function
18 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import
18 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import
19 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import
19 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import
20 hgext/gpg.py not using absolute_import
20 hgext/gpg.py not using absolute_import
21 hgext/graphlog.py not using absolute_import
21 hgext/graphlog.py not using absolute_import
22 hgext/hgcia.py not using absolute_import
22 hgext/hgcia.py not using absolute_import
23 hgext/hgk.py not using absolute_import
23 hgext/hgk.py not using absolute_import
24 hgext/highlight/__init__.py not using absolute_import
24 hgext/highlight/__init__.py not using absolute_import
25 hgext/highlight/highlight.py not using absolute_import
25 hgext/highlight/highlight.py not using absolute_import
26 hgext/histedit.py not using absolute_import
26 hgext/histedit.py not using absolute_import
27 hgext/largefiles/__init__.py not using absolute_import
27 hgext/largefiles/__init__.py not using absolute_import
28 hgext/largefiles/basestore.py not using absolute_import
28 hgext/largefiles/basestore.py not using absolute_import
29 hgext/largefiles/lfcommands.py not using absolute_import
29 hgext/largefiles/lfcommands.py not using absolute_import
30 hgext/largefiles/lfutil.py not using absolute_import
30 hgext/largefiles/lfutil.py not using absolute_import
31 hgext/largefiles/localstore.py not using absolute_import
31 hgext/largefiles/localstore.py not using absolute_import
32 hgext/largefiles/overrides.py not using absolute_import
32 hgext/largefiles/overrides.py not using absolute_import
33 hgext/largefiles/proto.py not using absolute_import
33 hgext/largefiles/proto.py not using absolute_import
34 hgext/largefiles/remotestore.py not using absolute_import
34 hgext/largefiles/remotestore.py not using absolute_import
35 hgext/largefiles/reposetup.py not using absolute_import
35 hgext/largefiles/reposetup.py not using absolute_import
36 hgext/largefiles/uisetup.py not using absolute_import
36 hgext/largefiles/uisetup.py not using absolute_import
37 hgext/largefiles/wirestore.py not using absolute_import
37 hgext/largefiles/wirestore.py not using absolute_import
38 hgext/mq.py not using absolute_import
38 hgext/mq.py not using absolute_import
39 hgext/rebase.py not using absolute_import
39 hgext/rebase.py not using absolute_import
40 hgext/share.py not using absolute_import
40 hgext/share.py not using absolute_import
41 hgext/win32text.py not using absolute_import
41 hgext/win32text.py not using absolute_import
42 i18n/check-translation.py not using absolute_import
42 i18n/check-translation.py not using absolute_import
43 i18n/polib.py not using absolute_import
43 i18n/polib.py not using absolute_import
44 setup.py not using absolute_import
44 setup.py not using absolute_import
45 tests/filterpyflakes.py requires print_function
45 tests/filterpyflakes.py requires print_function
46 tests/generate-working-copy-states.py requires print_function
46 tests/generate-working-copy-states.py requires print_function
47 tests/get-with-headers.py requires print_function
47 tests/get-with-headers.py requires print_function
48 tests/heredoctest.py requires print_function
48 tests/heredoctest.py requires print_function
49 tests/hypothesishelpers.py not using absolute_import
49 tests/hypothesishelpers.py not using absolute_import
50 tests/hypothesishelpers.py requires print_function
50 tests/hypothesishelpers.py requires print_function
51 tests/killdaemons.py not using absolute_import
51 tests/killdaemons.py not using absolute_import
52 tests/md5sum.py not using absolute_import
52 tests/md5sum.py not using absolute_import
53 tests/mockblackbox.py not using absolute_import
53 tests/mockblackbox.py not using absolute_import
54 tests/printenv.py not using absolute_import
54 tests/printenv.py not using absolute_import
55 tests/readlink.py not using absolute_import
55 tests/readlink.py not using absolute_import
56 tests/readlink.py requires print_function
56 tests/readlink.py requires print_function
57 tests/revlog-formatv0.py not using absolute_import
57 tests/revlog-formatv0.py not using absolute_import
58 tests/run-tests.py not using absolute_import
58 tests/run-tests.py not using absolute_import
59 tests/seq.py not using absolute_import
59 tests/seq.py not using absolute_import
60 tests/seq.py requires print_function
60 tests/seq.py requires print_function
61 tests/silenttestrunner.py not using absolute_import
61 tests/silenttestrunner.py not using absolute_import
62 tests/silenttestrunner.py requires print_function
62 tests/silenttestrunner.py requires print_function
63 tests/sitecustomize.py not using absolute_import
63 tests/sitecustomize.py not using absolute_import
64 tests/svn-safe-append.py not using absolute_import
64 tests/svn-safe-append.py not using absolute_import
65 tests/svnxml.py not using absolute_import
65 tests/svnxml.py not using absolute_import
66 tests/test-ancestor.py requires print_function
66 tests/test-ancestor.py requires print_function
67 tests/test-atomictempfile.py not using absolute_import
67 tests/test-atomictempfile.py not using absolute_import
68 tests/test-batching.py not using absolute_import
68 tests/test-batching.py not using absolute_import
69 tests/test-batching.py requires print_function
69 tests/test-batching.py requires print_function
70 tests/test-bdiff.py not using absolute_import
70 tests/test-bdiff.py not using absolute_import
71 tests/test-bdiff.py requires print_function
71 tests/test-bdiff.py requires print_function
72 tests/test-context.py not using absolute_import
72 tests/test-context.py not using absolute_import
73 tests/test-context.py requires print_function
73 tests/test-context.py requires print_function
74 tests/test-demandimport.py not using absolute_import
74 tests/test-demandimport.py not using absolute_import
75 tests/test-demandimport.py requires print_function
75 tests/test-demandimport.py requires print_function
76 tests/test-doctest.py not using absolute_import
76 tests/test-doctest.py not using absolute_import
77 tests/test-duplicateoptions.py not using absolute_import
77 tests/test-duplicateoptions.py not using absolute_import
78 tests/test-duplicateoptions.py requires print_function
78 tests/test-duplicateoptions.py requires print_function
79 tests/test-filecache.py not using absolute_import
79 tests/test-filecache.py not using absolute_import
80 tests/test-filecache.py requires print_function
80 tests/test-filecache.py requires print_function
81 tests/test-filelog.py not using absolute_import
81 tests/test-filelog.py not using absolute_import
82 tests/test-filelog.py requires print_function
82 tests/test-filelog.py requires print_function
83 tests/test-hg-parseurl.py not using absolute_import
83 tests/test-hg-parseurl.py not using absolute_import
84 tests/test-hg-parseurl.py requires print_function
84 tests/test-hg-parseurl.py requires print_function
85 tests/test-hgweb-auth.py not using absolute_import
85 tests/test-hgweb-auth.py not using absolute_import
86 tests/test-hgweb-auth.py requires print_function
86 tests/test-hgweb-auth.py requires print_function
87 tests/test-hgwebdir-paths.py not using absolute_import
87 tests/test-hgwebdir-paths.py not using absolute_import
88 tests/test-hybridencode.py not using absolute_import
88 tests/test-hybridencode.py not using absolute_import
89 tests/test-hybridencode.py requires print_function
89 tests/test-hybridencode.py requires print_function
90 tests/test-lrucachedict.py not using absolute_import
90 tests/test-lrucachedict.py not using absolute_import
91 tests/test-lrucachedict.py requires print_function
91 tests/test-lrucachedict.py requires print_function
92 tests/test-manifest.py not using absolute_import
92 tests/test-manifest.py not using absolute_import
93 tests/test-minirst.py not using absolute_import
93 tests/test-minirst.py not using absolute_import
94 tests/test-minirst.py requires print_function
94 tests/test-minirst.py requires print_function
95 tests/test-parseindex2.py not using absolute_import
95 tests/test-parseindex2.py not using absolute_import
96 tests/test-parseindex2.py requires print_function
96 tests/test-parseindex2.py requires print_function
97 tests/test-pathencode.py not using absolute_import
97 tests/test-pathencode.py not using absolute_import
98 tests/test-pathencode.py requires print_function
98 tests/test-pathencode.py requires print_function
99 tests/test-propertycache.py not using absolute_import
99 tests/test-propertycache.py not using absolute_import
100 tests/test-propertycache.py requires print_function
100 tests/test-propertycache.py requires print_function
101 tests/test-revlog-ancestry.py not using absolute_import
101 tests/test-revlog-ancestry.py not using absolute_import
102 tests/test-revlog-ancestry.py requires print_function
102 tests/test-revlog-ancestry.py requires print_function
103 tests/test-run-tests.py not using absolute_import
103 tests/test-run-tests.py not using absolute_import
104 tests/test-simplemerge.py not using absolute_import
104 tests/test-simplemerge.py not using absolute_import
105 tests/test-status-inprocess.py not using absolute_import
105 tests/test-status-inprocess.py not using absolute_import
106 tests/test-status-inprocess.py requires print_function
106 tests/test-status-inprocess.py requires print_function
107 tests/test-symlink-os-yes-fs-no.py not using absolute_import
107 tests/test-symlink-os-yes-fs-no.py not using absolute_import
108 tests/test-trusted.py not using absolute_import
108 tests/test-trusted.py not using absolute_import
109 tests/test-trusted.py requires print_function
109 tests/test-trusted.py requires print_function
110 tests/test-ui-color.py not using absolute_import
110 tests/test-ui-color.py not using absolute_import
111 tests/test-ui-color.py requires print_function
111 tests/test-ui-color.py requires print_function
112 tests/test-ui-config.py not using absolute_import
112 tests/test-ui-config.py not using absolute_import
113 tests/test-ui-config.py requires print_function
113 tests/test-ui-config.py requires print_function
114 tests/test-ui-verbosity.py not using absolute_import
114 tests/test-ui-verbosity.py not using absolute_import
115 tests/test-ui-verbosity.py requires print_function
115 tests/test-ui-verbosity.py requires print_function
116 tests/test-url.py not using absolute_import
116 tests/test-url.py not using absolute_import
117 tests/test-url.py requires print_function
117 tests/test-url.py requires print_function
118 tests/test-walkrepo.py requires print_function
118 tests/test-walkrepo.py requires print_function
119 tests/test-wireproto.py requires print_function
120
119
121 #if py3exe
120 #if py3exe
122 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
121 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
123 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob)
122 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob)
124 contrib/import-checker.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
123 contrib/import-checker.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
125 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
124 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
126 hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
125 hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
127 hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
126 hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
128 hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
127 hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
129 hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob)
128 hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob)
130 hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
129 hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
131 hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
130 hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
132 hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
131 hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
133 hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
132 hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
134 hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
133 hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
135 hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
134 hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
136 hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
135 hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
137 hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
136 hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
138 hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
137 hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
139 hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
138 hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
140 hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
139 hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
141 hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
140 hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
142 hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
141 hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
143 hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
142 hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
144 hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
143 hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
145 hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
144 hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
146 hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
145 hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
147 hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
146 hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
148 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
147 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
149 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob)
148 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob)
150 hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
149 hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
151 hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
150 hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
152 hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob)
151 hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob)
153 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
152 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
154 hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
153 hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
155 hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
154 hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
156 hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
155 hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
157 hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
156 hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
158 hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
157 hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
159 hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
158 hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
160 hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
159 hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
161 hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
160 hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
162 hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
161 hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
163 hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
162 hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
164 hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
163 hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
165 hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
164 hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
166 hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
165 hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
167 hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
166 hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
168 hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
167 hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
169 hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
168 hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
170 hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
169 hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
171 hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
170 hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
172 hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
171 hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
173 hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
172 hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
174 hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
173 hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
175 hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
174 hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
176 hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
175 hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
177 hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
176 hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
178 hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
177 hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
179 hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
178 hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
180 hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
179 hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
181 hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
180 hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
182 hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
181 hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
183 hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
182 hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
184 hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
183 hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
185 hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
184 hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
186 hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
185 hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
187 mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
186 mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
188 mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
187 mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
189 mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
188 mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
190 mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
189 mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
191 mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
190 mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
192 mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
191 mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
193 mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
192 mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
194 mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
193 mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
195 mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
194 mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
196 mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
195 mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
197 mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
196 mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
198 mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
197 mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
199 mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
198 mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
200 mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
199 mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
201 mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
200 mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
202 mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
201 mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
203 mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
202 mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
204 mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
203 mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
205 mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
204 mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
206 mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
205 mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
207 mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
206 mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
208 mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
207 mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
209 mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
208 mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
210 mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
209 mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
211 mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
210 mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
212 mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
211 mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
213 mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
212 mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
214 mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
213 mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
215 mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
214 mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
216 mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
215 mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
217 mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
216 mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
218 mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
217 mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
219 mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
218 mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
220 mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
219 mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
221 mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
220 mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
222 mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
221 mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
223 mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
222 mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
224 mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
223 mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
225 mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
224 mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
226 mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
225 mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
227 mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
226 mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
228 mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
227 mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
229 mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
228 mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
230 mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
229 mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
231 mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
230 mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
232 mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
231 mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
233 mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
232 mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
234 mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
233 mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
235 mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
234 mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
236 mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
235 mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
237 mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
236 mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
238 mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
237 mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
239 mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
238 mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
240 mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
239 mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
241 mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
240 mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
242 mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
241 mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
243 mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
242 mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
244 mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
243 mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
245 mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
244 mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
246 mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
245 mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
247 mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
246 mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
248 mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
247 mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
249 mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
248 mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
250 mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
249 mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
251 mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob)
250 mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob)
252 mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
251 mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
253 mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
252 mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
254 mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
253 mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
255 mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
254 mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
256 mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
255 mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
257 mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
256 mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
258 mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
257 mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
259 mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
258 mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
260 mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
259 mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
261 mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
260 mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
262 mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
261 mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
263 mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
262 mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
264 mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
263 mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
265 mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
264 mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
266 mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
265 mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
267 mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
266 mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
268 mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
267 mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
269 mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
268 mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
270 mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
269 mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
271 mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
270 mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
272 mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
271 mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
273 mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob)
272 mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob)
274 mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
273 mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
275 mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
274 mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
276 tests/filterpyflakes.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
275 tests/filterpyflakes.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
277 tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
276 tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
278 tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
277 tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
279 tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
278 tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
280 tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
279 tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
281 tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
280 tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
282 tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
281 tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
283 tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
282 tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
284 tests/test-bdiff.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
283 tests/test-bdiff.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
285 tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
284 tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
286 tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
285 tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
287 tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
286 tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
288 tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
287 tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
289 tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
288 tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
290 tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
289 tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
291 tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
290 tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
292 tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
291 tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
293 tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
292 tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
294 tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
293 tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
295 tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
294 tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
296 tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
295 tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
297 tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
296 tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
298 tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
297 tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
299 tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
298 tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
300 tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
299 tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
301 tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
300 tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
302 tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
301 tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
303 tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
302 tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
304 tests/test-wireproto.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
305
303
306 #endif
304 #endif
@@ -1,59 +1,59 b''
1 from __future__ import absolute_import
1 from __future__ import absolute_import, print_function
2
2
3 import StringIO
3 import StringIO
4
4
5 from mercurial import wireproto
5 from mercurial import wireproto
6
6
7 class proto(object):
7 class proto(object):
8 def __init__(self, args):
8 def __init__(self, args):
9 self.args = args
9 self.args = args
10 def getargs(self, spec):
10 def getargs(self, spec):
11 args = self.args
11 args = self.args
12 args.setdefault('*', {})
12 args.setdefault('*', {})
13 names = spec.split()
13 names = spec.split()
14 return [args[n] for n in names]
14 return [args[n] for n in names]
15
15
16 class clientpeer(wireproto.wirepeer):
16 class clientpeer(wireproto.wirepeer):
17 def __init__(self, serverrepo):
17 def __init__(self, serverrepo):
18 self.serverrepo = serverrepo
18 self.serverrepo = serverrepo
19
19
20 def _capabilities(self):
20 def _capabilities(self):
21 return ['batch']
21 return ['batch']
22
22
23 def _call(self, cmd, **args):
23 def _call(self, cmd, **args):
24 return wireproto.dispatch(self.serverrepo, proto(args), cmd)
24 return wireproto.dispatch(self.serverrepo, proto(args), cmd)
25
25
26 def _callstream(self, cmd, **args):
26 def _callstream(self, cmd, **args):
27 return StringIO.StringIO(self._call(cmd, **args))
27 return StringIO.StringIO(self._call(cmd, **args))
28
28
29 @wireproto.batchable
29 @wireproto.batchable
30 def greet(self, name):
30 def greet(self, name):
31 f = wireproto.future()
31 f = wireproto.future()
32 yield {'name': mangle(name)}, f
32 yield {'name': mangle(name)}, f
33 yield unmangle(f.value)
33 yield unmangle(f.value)
34
34
35 class serverrepo(object):
35 class serverrepo(object):
36 def greet(self, name):
36 def greet(self, name):
37 return "Hello, " + name
37 return "Hello, " + name
38
38
39 def filtered(self, name):
39 def filtered(self, name):
40 return self
40 return self
41
41
42 def mangle(s):
42 def mangle(s):
43 return ''.join(chr(ord(c) + 1) for c in s)
43 return ''.join(chr(ord(c) + 1) for c in s)
44 def unmangle(s):
44 def unmangle(s):
45 return ''.join(chr(ord(c) - 1) for c in s)
45 return ''.join(chr(ord(c) - 1) for c in s)
46
46
47 def greet(repo, proto, name):
47 def greet(repo, proto, name):
48 return mangle(repo.greet(unmangle(name)))
48 return mangle(repo.greet(unmangle(name)))
49
49
50 wireproto.commands['greet'] = (greet, 'name',)
50 wireproto.commands['greet'] = (greet, 'name',)
51
51
52 srv = serverrepo()
52 srv = serverrepo()
53 clt = clientpeer(srv)
53 clt = clientpeer(srv)
54
54
55 print clt.greet("Foobar")
55 print(clt.greet("Foobar"))
56 b = clt.batch()
56 b = clt.batch()
57 fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]]
57 fs = [b.greet(s) for s in ["Fo, =;:<o", "Bar"]]
58 b.submit()
58 b.submit()
59 print [f.value for f in fs]
59 print([f.value for f in fs])
General Comments 0
You need to be logged in to leave comments. Login now