Show More
@@ -1,267 +1,265 b'' | |||
|
1 | 1 | #require test-repo |
|
2 | 2 | |
|
3 | 3 | $ cd "$TESTDIR"/.. |
|
4 | 4 | |
|
5 | 5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
|
6 | 6 | doc/check-seclevel.py not using absolute_import |
|
7 | 7 | doc/gendoc.py not using absolute_import |
|
8 | 8 | doc/hgmanpage.py not using absolute_import |
|
9 | 9 | hgext/color.py not using absolute_import |
|
10 | 10 | hgext/eol.py not using absolute_import |
|
11 | 11 | hgext/extdiff.py not using absolute_import |
|
12 | 12 | hgext/factotum.py not using absolute_import |
|
13 | 13 | hgext/fetch.py not using absolute_import |
|
14 | 14 | hgext/fsmonitor/pywatchman/__init__.py not using absolute_import |
|
15 | 15 | hgext/fsmonitor/pywatchman/__init__.py requires print_function |
|
16 | 16 | hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import |
|
17 | 17 | hgext/fsmonitor/pywatchman/pybser.py not using absolute_import |
|
18 | 18 | hgext/gpg.py not using absolute_import |
|
19 | 19 | hgext/graphlog.py not using absolute_import |
|
20 | 20 | hgext/hgcia.py not using absolute_import |
|
21 | 21 | hgext/hgk.py not using absolute_import |
|
22 | 22 | hgext/highlight/__init__.py not using absolute_import |
|
23 | 23 | hgext/highlight/highlight.py not using absolute_import |
|
24 | 24 | hgext/histedit.py not using absolute_import |
|
25 | 25 | hgext/largefiles/__init__.py not using absolute_import |
|
26 | 26 | hgext/largefiles/basestore.py not using absolute_import |
|
27 | 27 | hgext/largefiles/lfcommands.py not using absolute_import |
|
28 | 28 | hgext/largefiles/lfutil.py not using absolute_import |
|
29 | 29 | hgext/largefiles/localstore.py not using absolute_import |
|
30 | 30 | hgext/largefiles/overrides.py not using absolute_import |
|
31 | 31 | hgext/largefiles/proto.py not using absolute_import |
|
32 | 32 | hgext/largefiles/remotestore.py not using absolute_import |
|
33 | 33 | hgext/largefiles/reposetup.py not using absolute_import |
|
34 | 34 | hgext/largefiles/uisetup.py not using absolute_import |
|
35 | 35 | hgext/largefiles/wirestore.py not using absolute_import |
|
36 | 36 | hgext/mq.py not using absolute_import |
|
37 | 37 | hgext/rebase.py not using absolute_import |
|
38 | 38 | hgext/share.py not using absolute_import |
|
39 | 39 | hgext/win32text.py not using absolute_import |
|
40 | 40 | i18n/check-translation.py not using absolute_import |
|
41 | 41 | i18n/polib.py not using absolute_import |
|
42 | 42 | setup.py not using absolute_import |
|
43 | 43 | tests/heredoctest.py requires print_function |
|
44 | 44 | tests/killdaemons.py not using absolute_import |
|
45 | 45 | tests/md5sum.py not using absolute_import |
|
46 | 46 | tests/mockblackbox.py not using absolute_import |
|
47 | 47 | tests/printenv.py not using absolute_import |
|
48 | 48 | tests/readlink.py not using absolute_import |
|
49 | 49 | tests/readlink.py requires print_function |
|
50 | 50 | tests/revlog-formatv0.py not using absolute_import |
|
51 | 51 | tests/run-tests.py not using absolute_import |
|
52 | 52 | tests/sitecustomize.py not using absolute_import |
|
53 | 53 | tests/svn-safe-append.py not using absolute_import |
|
54 | 54 | tests/svnxml.py not using absolute_import |
|
55 | 55 | tests/test-atomictempfile.py not using absolute_import |
|
56 | tests/test-context.py requires print_function | |
|
57 | 56 | tests/test-demandimport.py not using absolute_import |
|
58 | 57 | tests/test-demandimport.py requires print_function |
|
59 | 58 | tests/test-doctest.py not using absolute_import |
|
60 | 59 | tests/test-duplicateoptions.py not using absolute_import |
|
61 | 60 | tests/test-duplicateoptions.py requires print_function |
|
62 | 61 | tests/test-filecache.py not using absolute_import |
|
63 | 62 | tests/test-filecache.py requires print_function |
|
64 | 63 | tests/test-filelog.py not using absolute_import |
|
65 | 64 | tests/test-filelog.py requires print_function |
|
66 | 65 | tests/test-hg-parseurl.py not using absolute_import |
|
67 | 66 | tests/test-hg-parseurl.py requires print_function |
|
68 | 67 | tests/test-hgweb-auth.py not using absolute_import |
|
69 | 68 | tests/test-hgweb-auth.py requires print_function |
|
70 | 69 | tests/test-hgwebdir-paths.py not using absolute_import |
|
71 | 70 | tests/test-hybridencode.py not using absolute_import |
|
72 | 71 | tests/test-hybridencode.py requires print_function |
|
73 | 72 | tests/test-lrucachedict.py not using absolute_import |
|
74 | 73 | tests/test-lrucachedict.py requires print_function |
|
75 | 74 | tests/test-manifest.py not using absolute_import |
|
76 | 75 | tests/test-minirst.py not using absolute_import |
|
77 | 76 | tests/test-minirst.py requires print_function |
|
78 | 77 | tests/test-parseindex2.py not using absolute_import |
|
79 | 78 | tests/test-parseindex2.py requires print_function |
|
80 | 79 | tests/test-pathencode.py not using absolute_import |
|
81 | 80 | tests/test-pathencode.py requires print_function |
|
82 | 81 | tests/test-propertycache.py not using absolute_import |
|
83 | 82 | tests/test-propertycache.py requires print_function |
|
84 | 83 | tests/test-revlog-ancestry.py not using absolute_import |
|
85 | 84 | tests/test-revlog-ancestry.py requires print_function |
|
86 | 85 | tests/test-run-tests.py not using absolute_import |
|
87 | 86 | tests/test-simplemerge.py not using absolute_import |
|
88 | 87 | tests/test-status-inprocess.py not using absolute_import |
|
89 | 88 | tests/test-status-inprocess.py requires print_function |
|
90 | 89 | tests/test-symlink-os-yes-fs-no.py not using absolute_import |
|
91 | 90 | tests/test-trusted.py not using absolute_import |
|
92 | 91 | tests/test-trusted.py requires print_function |
|
93 | 92 | tests/test-ui-color.py not using absolute_import |
|
94 | 93 | tests/test-url.py not using absolute_import |
|
95 | 94 | |
|
96 | 95 | #if py3exe |
|
97 | 96 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py |
|
98 | 97 | contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob) |
|
99 | 98 | doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
100 | 99 | hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
101 | 100 | hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
|
102 | 101 | hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
103 | 102 | hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob) |
|
104 | 103 | hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
105 | 104 | hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) |
|
106 | 105 | hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
107 | 106 | hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
108 | 107 | hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
109 | 108 | hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
110 | 109 | hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) |
|
111 | 110 | hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
112 | 111 | hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
113 | 112 | hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
114 | 113 | hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
115 | 114 | hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
116 | 115 | hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) |
|
117 | 116 | hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
118 | 117 | hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
119 | 118 | hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
120 | 119 | hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
121 | 120 | hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
122 | 121 | hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
123 | 122 | hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) |
|
124 | 123 | hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
125 | 124 | hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
126 | 125 | hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob) |
|
127 | 126 | hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
|
128 | 127 | hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
129 | 128 | hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
130 | 129 | hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
131 | 130 | hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
132 | 131 | hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
133 | 132 | hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
134 | 133 | hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
135 | 134 | hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
136 | 135 | hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
137 | 136 | hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
138 | 137 | hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
139 | 138 | hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
140 | 139 | hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) |
|
141 | 140 | hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
142 | 141 | hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
143 | 142 | hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
144 | 143 | hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
145 | 144 | hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) |
|
146 | 145 | hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) |
|
147 | 146 | hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
148 | 147 | hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
149 | 148 | hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
150 | 149 | hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
151 | 150 | hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
152 | 151 | hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
153 | 152 | hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
154 | 153 | hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
155 | 154 | hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
156 | 155 | hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
157 | 156 | hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
158 | 157 | hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
159 | 158 | hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob) |
|
160 | 159 | hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
161 | 160 | mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
162 | 161 | mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
163 | 162 | mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
164 | 163 | mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
165 | 164 | mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
166 | 165 | mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
167 | 166 | mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
168 | 167 | mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
169 | 168 | mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
170 | 169 | mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
171 | 170 | mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) |
|
172 | 171 | mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
173 | 172 | mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
174 | 173 | mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
175 | 174 | mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
176 | 175 | mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
177 | 176 | mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
178 | 177 | mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
179 | 178 | mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
180 | 179 | mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
181 | 180 | mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
182 | 181 | mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
183 | 182 | mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
184 | 183 | mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
185 | 184 | mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
186 | 185 | mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
187 | 186 | mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
188 | 187 | mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
189 | 188 | mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) |
|
190 | 189 | mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
191 | 190 | mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
192 | 191 | mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
193 | 192 | mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
194 | 193 | mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) |
|
195 | 194 | mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
196 | 195 | mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
197 | 196 | mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
198 | 197 | mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
199 | 198 | mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
200 | 199 | mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
201 | 200 | mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
202 | 201 | mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
203 | 202 | mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
204 | 203 | mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
205 | 204 | mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
206 | 205 | mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
207 | 206 | mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
208 | 207 | mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
209 | 208 | mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
210 | 209 | mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
211 | 210 | mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) |
|
212 | 211 | mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
213 | 212 | mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
214 | 213 | mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
215 | 214 | mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
216 | 215 | mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
217 | 216 | mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
218 | 217 | mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
219 | 218 | mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
220 | 219 | mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
221 | 220 | mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
222 | 221 | mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
223 | 222 | mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
224 | 223 | mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
225 | 224 | mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob) |
|
226 | 225 | mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) |
|
227 | 226 | mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
228 | 227 | mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
229 | 228 | mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
230 | 229 | mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
231 | 230 | mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
232 | 231 | mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
233 | 232 | mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
234 | 233 | mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
235 | 234 | mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
236 | 235 | mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
237 | 236 | mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
238 | 237 | mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
239 | 238 | mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) |
|
240 | 239 | mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
241 | 240 | mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
242 | 241 | mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
243 | 242 | mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
244 | 243 | mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
245 | 244 | mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
246 | 245 | mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
247 | 246 | mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob) |
|
248 | 247 | mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) |
|
249 | 248 | mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
250 | 249 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
251 | tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
|
252 | 250 | tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
253 | 251 | tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
254 | 252 | tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
255 | 253 | tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
256 | 254 | tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
257 | 255 | tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
258 | 256 | tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
259 | 257 | tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
260 | 258 | tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
261 | 259 | tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
262 | 260 | tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
263 | 261 | tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
264 | 262 | tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
265 | 263 | tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
266 | 264 | |
|
267 | 265 | #endif |
@@ -1,148 +1,148 b'' | |||
|
1 | from __future__ import absolute_import | |
|
1 | from __future__ import absolute_import, print_function | |
|
2 | 2 | import os |
|
3 | 3 | from mercurial import ( |
|
4 | context, | |
|
5 | encoding, | |
|
4 | 6 | hg, |
|
5 | 7 | ui, |
|
6 | context, | |
|
7 | encoding, | |
|
8 | 8 | ) |
|
9 | 9 | |
|
10 | 10 | u = ui.ui() |
|
11 | 11 | |
|
12 | 12 | repo = hg.repository(u, 'test1', create=1) |
|
13 | 13 | os.chdir('test1') |
|
14 | 14 | |
|
15 | 15 | # create 'foo' with fixed time stamp |
|
16 | 16 | f = open('foo', 'wb') |
|
17 | 17 | f.write('foo\n') |
|
18 | 18 | f.close() |
|
19 | 19 | os.utime('foo', (1000, 1000)) |
|
20 | 20 | |
|
21 | 21 | # add+commit 'foo' |
|
22 | 22 | repo[None].add(['foo']) |
|
23 | 23 | repo.commit(text='commit1', date="0 0") |
|
24 | 24 | |
|
25 | 25 | if os.name == 'nt': |
|
26 | 26 | d = repo[None]['foo'].date() |
|
27 |
print |
|
|
27 | print("workingfilectx.date = (%d, %d)" % (d[0], d[1])) | |
|
28 | 28 | else: |
|
29 |
print |
|
|
29 | print("workingfilectx.date =", repo[None]['foo'].date()) | |
|
30 | 30 | |
|
31 | 31 | # test memctx with non-ASCII commit message |
|
32 | 32 | |
|
33 | 33 | def filectxfn(repo, memctx, path): |
|
34 | 34 | return context.memfilectx(repo, "foo", "") |
|
35 | 35 | |
|
36 | 36 | ctx = context.memctx(repo, ['tip', None], |
|
37 | 37 | encoding.tolocal("Gr\xc3\xbcezi!"), |
|
38 | 38 | ["foo"], filectxfn) |
|
39 | 39 | ctx.commit() |
|
40 | 40 | for enc in "ASCII", "Latin-1", "UTF-8": |
|
41 | 41 | encoding.encoding = enc |
|
42 |
print |
|
|
42 | print("%-8s: %s" % (enc, repo["tip"].description())) | |
|
43 | 43 | |
|
44 | 44 | # test performing a status |
|
45 | 45 | |
|
46 | 46 | def getfilectx(repo, memctx, f): |
|
47 | 47 | fctx = memctx.parents()[0][f] |
|
48 | 48 | data, flags = fctx.data(), fctx.flags() |
|
49 | 49 | if f == 'foo': |
|
50 | 50 | data += 'bar\n' |
|
51 | 51 | return context.memfilectx(repo, f, data, 'l' in flags, 'x' in flags) |
|
52 | 52 | |
|
53 | 53 | ctxa = repo.changectx(0) |
|
54 | 54 | ctxb = context.memctx(repo, [ctxa.node(), None], "test diff", ["foo"], |
|
55 | 55 | getfilectx, ctxa.user(), ctxa.date()) |
|
56 | 56 | |
|
57 |
print |
|
|
57 | print(ctxb.status(ctxa)) | |
|
58 | 58 | |
|
59 | 59 | # test performing a diff on a memctx |
|
60 | 60 | |
|
61 | 61 | for d in ctxb.diff(ctxa, git=True): |
|
62 |
print |
|
|
62 | print(d) | |
|
63 | 63 | |
|
64 | 64 | # test safeness and correctness of "ctx.status()" |
|
65 |
print |
|
|
65 | print('= checking context.status():') | |
|
66 | 66 | |
|
67 | 67 | # ancestor "wcctx ~ 2" |
|
68 | 68 | actx2 = repo['.'] |
|
69 | 69 | |
|
70 | 70 | repo.wwrite('bar-m', 'bar-m\n', '') |
|
71 | 71 | repo.wwrite('bar-r', 'bar-r\n', '') |
|
72 | 72 | repo[None].add(['bar-m', 'bar-r']) |
|
73 | 73 | repo.commit(text='add bar-m, bar-r', date="0 0") |
|
74 | 74 | |
|
75 | 75 | # ancestor "wcctx ~ 1" |
|
76 | 76 | actx1 = repo['.'] |
|
77 | 77 | |
|
78 | 78 | repo.wwrite('bar-m', 'bar-m bar-m\n', '') |
|
79 | 79 | repo.wwrite('bar-a', 'bar-a\n', '') |
|
80 | 80 | repo[None].add(['bar-a']) |
|
81 | 81 | repo[None].forget(['bar-r']) |
|
82 | 82 | |
|
83 | 83 | # status at this point: |
|
84 | 84 | # M bar-m |
|
85 | 85 | # A bar-a |
|
86 | 86 | # R bar-r |
|
87 | 87 | # C foo |
|
88 | 88 | |
|
89 | 89 | from mercurial import scmutil |
|
90 | 90 | |
|
91 |
print |
|
|
91 | print('== checking workingctx.status:') | |
|
92 | 92 | |
|
93 | 93 | wctx = repo[None] |
|
94 |
print |
|
|
94 | print('wctx._status=%s' % (str(wctx._status))) | |
|
95 | 95 | |
|
96 |
print |
|
|
97 |
print |
|
|
98 | match=scmutil.matchfiles(repo, ['bar-m', 'foo'])) | |
|
99 |
print |
|
|
100 |
print |
|
|
101 | match=scmutil.matchfiles(repo, ['bar-m', 'foo'])) | |
|
102 |
print |
|
|
96 | print('=== with "pattern match":') | |
|
97 | print(actx1.status(other=wctx, | |
|
98 | match=scmutil.matchfiles(repo, ['bar-m', 'foo']))) | |
|
99 | print('wctx._status=%s' % (str(wctx._status))) | |
|
100 | print(actx2.status(other=wctx, | |
|
101 | match=scmutil.matchfiles(repo, ['bar-m', 'foo']))) | |
|
102 | print('wctx._status=%s' % (str(wctx._status))) | |
|
103 | 103 | |
|
104 |
print |
|
|
105 |
print |
|
|
106 |
print |
|
|
107 |
print |
|
|
108 |
print |
|
|
104 | print('=== with "always match" and "listclean=True":') | |
|
105 | print(actx1.status(other=wctx, listclean=True)) | |
|
106 | print('wctx._status=%s' % (str(wctx._status))) | |
|
107 | print(actx2.status(other=wctx, listclean=True)) | |
|
108 | print('wctx._status=%s' % (str(wctx._status))) | |
|
109 | 109 | |
|
110 |
print |
|
|
110 | print("== checking workingcommitctx.status:") | |
|
111 | 111 | |
|
112 | 112 | wcctx = context.workingcommitctx(repo, |
|
113 | 113 | scmutil.status(['bar-m'], |
|
114 | 114 | ['bar-a'], |
|
115 | 115 | [], |
|
116 | 116 | [], [], [], []), |
|
117 | 117 | text='', date='0 0') |
|
118 |
print |
|
|
118 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
119 | 119 | |
|
120 |
print |
|
|
121 |
print |
|
|
122 |
print |
|
|
123 |
print |
|
|
124 |
print |
|
|
120 | print('=== with "always match":') | |
|
121 | print(actx1.status(other=wcctx)) | |
|
122 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
123 | print(actx2.status(other=wcctx)) | |
|
124 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
125 | 125 | |
|
126 |
print |
|
|
127 |
print |
|
|
128 |
print |
|
|
129 |
print |
|
|
130 |
print |
|
|
126 | print('=== with "always match" and "listclean=True":') | |
|
127 | print(actx1.status(other=wcctx, listclean=True)) | |
|
128 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
129 | print(actx2.status(other=wcctx, listclean=True)) | |
|
130 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
131 | 131 | |
|
132 |
print |
|
|
133 |
print |
|
|
134 | match=scmutil.matchfiles(repo, ['bar-m', 'foo'])) | |
|
135 |
print |
|
|
136 |
print |
|
|
137 | match=scmutil.matchfiles(repo, ['bar-m', 'foo'])) | |
|
138 |
print |
|
|
132 | print('=== with "pattern match":') | |
|
133 | print(actx1.status(other=wcctx, | |
|
134 | match=scmutil.matchfiles(repo, ['bar-m', 'foo']))) | |
|
135 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
136 | print(actx2.status(other=wcctx, | |
|
137 | match=scmutil.matchfiles(repo, ['bar-m', 'foo']))) | |
|
138 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
139 | 139 | |
|
140 |
print |
|
|
141 |
print |
|
|
140 | print('=== with "pattern match" and "listclean=True":') | |
|
141 | print(actx1.status(other=wcctx, | |
|
142 | 142 | match=scmutil.matchfiles(repo, ['bar-r', 'foo']), |
|
143 | listclean=True) | |
|
144 |
print |
|
|
145 |
print |
|
|
143 | listclean=True)) | |
|
144 | print('wcctx._status=%s' % (str(wcctx._status))) | |
|
145 | print(actx2.status(other=wcctx, | |
|
146 | 146 | match=scmutil.matchfiles(repo, ['bar-r', 'foo']), |
|
147 | listclean=True) | |
|
148 |
print |
|
|
147 | listclean=True)) | |
|
148 | print('wcctx._status=%s' % (str(wcctx._status))) |
General Comments 0
You need to be logged in to leave comments.
Login now