##// END OF EJS Templates
py3: use print_function in generate-working-copy-states.py
Robert Stanca -
r28725:3cf1995d default
parent child Browse files
Show More
@@ -1,88 +1,88
1 1 # Helper script used for generating history and working copy files and content.
2 2 # The file's name corresponds to its history. The number of changesets can
3 3 # be specified on the command line. With 2 changesets, files with names like
4 4 # content1_content2_content1-untracked are generated. The first two filename
5 5 # segments describe the contents in the two changesets. The third segment
6 6 # ("content1-untracked") describes the state in the working copy, i.e.
7 7 # the file has content "content1" and is untracked (since it was previously
8 8 # tracked, it has been forgotten).
9 9 #
10 10 # This script generates the filenames and their content, but it's up to the
11 11 # caller to tell hg about the state.
12 12 #
13 13 # There are two subcommands:
14 14 # filelist <numchangesets>
15 15 # state <numchangesets> (<changeset>|wc)
16 16 #
17 17 # Typical usage:
18 18 #
19 19 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
20 20 # $ hg addremove --similarity 0
21 21 # $ hg commit -m 'first'
22 22 #
23 23 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
24 24 # $ hg addremove --similarity 0
25 25 # $ hg commit -m 'second'
26 26 #
27 27 # $ python $TESTDIR/generate-working-copy-states.py state 2 wc
28 28 # $ hg addremove --similarity 0
29 29 # $ hg forget *_*_*-untracked
30 30 # $ rm *_*_missing-*
31 31
32 from __future__ import absolute_import
32 from __future__ import absolute_import, print_function
33 33
34 34 import os
35 35 import sys
36 36
37 37 # Generates pairs of (filename, contents), where 'contents' is a list
38 38 # describing the file's content at each revision (or in the working copy).
39 39 # At each revision, it is either None or the file's actual content. When not
40 40 # None, it may be either new content or the same content as an earlier
41 41 # revisions, so all of (modified,clean,added,removed) can be tested.
42 42 def generatestates(maxchangesets, parentcontents):
43 43 depth = len(parentcontents)
44 44 if depth == maxchangesets + 1:
45 45 for tracked in ('untracked', 'tracked'):
46 46 filename = "_".join([(content is None and 'missing' or content) for
47 47 content in parentcontents]) + "-" + tracked
48 48 yield (filename, parentcontents)
49 49 else:
50 50 for content in (set([None, 'content' + str(depth + 1)]) |
51 51 set(parentcontents)):
52 52 for combination in generatestates(maxchangesets,
53 53 parentcontents + [content]):
54 54 yield combination
55 55
56 56 # retrieve the command line arguments
57 57 target = sys.argv[1]
58 58 maxchangesets = int(sys.argv[2])
59 59 if target == 'state':
60 60 depth = sys.argv[3]
61 61
62 62 # sort to make sure we have stable output
63 63 combinations = sorted(generatestates(maxchangesets, []))
64 64
65 65 # compute file content
66 66 content = []
67 67 for filename, states in combinations:
68 68 if target == 'filelist':
69 print filename
69 print(filename)
70 70 elif target == 'state':
71 71 if depth == 'wc':
72 72 # Make sure there is content so the file gets written and can be
73 73 # tracked. It will be deleted outside of this script.
74 74 content.append((filename, states[maxchangesets] or 'TOBEDELETED'))
75 75 else:
76 76 content.append((filename, states[int(depth) - 1]))
77 77 else:
78 print >> sys.stderr, "unknown target:", target
78 print("unknown target:", target, file=sys.stderr)
79 79 sys.exit(1)
80 80
81 81 # write actual content
82 82 for filename, data in content:
83 83 if data is not None:
84 84 f = open(filename, 'wb')
85 85 f.write(data + '\n')
86 86 f.close()
87 87 elif os.path.exists(filename):
88 88 os.remove(filename)
@@ -1,283 +1,281
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 tests/generate-working-copy-states.py requires print_function
44 43 tests/get-with-headers.py requires print_function
45 44 tests/heredoctest.py requires print_function
46 45 tests/hypothesishelpers.py not using absolute_import
47 46 tests/hypothesishelpers.py requires print_function
48 47 tests/killdaemons.py not using absolute_import
49 48 tests/md5sum.py not using absolute_import
50 49 tests/mockblackbox.py not using absolute_import
51 50 tests/printenv.py not using absolute_import
52 51 tests/readlink.py not using absolute_import
53 52 tests/readlink.py requires print_function
54 53 tests/revlog-formatv0.py not using absolute_import
55 54 tests/run-tests.py not using absolute_import
56 55 tests/silenttestrunner.py not using absolute_import
57 56 tests/silenttestrunner.py requires print_function
58 57 tests/sitecustomize.py not using absolute_import
59 58 tests/svn-safe-append.py not using absolute_import
60 59 tests/svnxml.py not using absolute_import
61 60 tests/test-atomictempfile.py not using absolute_import
62 61 tests/test-batching.py not using absolute_import
63 62 tests/test-batching.py requires print_function
64 63 tests/test-bdiff.py not using absolute_import
65 64 tests/test-bdiff.py requires print_function
66 65 tests/test-context.py not using absolute_import
67 66 tests/test-context.py requires print_function
68 67 tests/test-demandimport.py not using absolute_import
69 68 tests/test-demandimport.py requires print_function
70 69 tests/test-doctest.py not using absolute_import
71 70 tests/test-duplicateoptions.py not using absolute_import
72 71 tests/test-duplicateoptions.py requires print_function
73 72 tests/test-filecache.py not using absolute_import
74 73 tests/test-filecache.py requires print_function
75 74 tests/test-filelog.py not using absolute_import
76 75 tests/test-filelog.py requires print_function
77 76 tests/test-hg-parseurl.py not using absolute_import
78 77 tests/test-hg-parseurl.py requires print_function
79 78 tests/test-hgweb-auth.py not using absolute_import
80 79 tests/test-hgweb-auth.py requires print_function
81 80 tests/test-hgwebdir-paths.py not using absolute_import
82 81 tests/test-hybridencode.py not using absolute_import
83 82 tests/test-hybridencode.py requires print_function
84 83 tests/test-lrucachedict.py not using absolute_import
85 84 tests/test-lrucachedict.py requires print_function
86 85 tests/test-manifest.py not using absolute_import
87 86 tests/test-minirst.py not using absolute_import
88 87 tests/test-minirst.py requires print_function
89 88 tests/test-parseindex2.py not using absolute_import
90 89 tests/test-parseindex2.py requires print_function
91 90 tests/test-pathencode.py not using absolute_import
92 91 tests/test-pathencode.py requires print_function
93 92 tests/test-propertycache.py not using absolute_import
94 93 tests/test-propertycache.py requires print_function
95 94 tests/test-revlog-ancestry.py not using absolute_import
96 95 tests/test-revlog-ancestry.py requires print_function
97 96 tests/test-run-tests.py not using absolute_import
98 97 tests/test-simplemerge.py not using absolute_import
99 98 tests/test-status-inprocess.py not using absolute_import
100 99 tests/test-status-inprocess.py requires print_function
101 100 tests/test-symlink-os-yes-fs-no.py not using absolute_import
102 101 tests/test-trusted.py not using absolute_import
103 102 tests/test-trusted.py requires print_function
104 103 tests/test-ui-color.py not using absolute_import
105 104 tests/test-url.py not using absolute_import
106 105
107 106 #if py3exe
108 107 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
109 108 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob)
110 109 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
111 110 hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
112 111 hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
113 112 hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
114 113 hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob)
115 114 hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
116 115 hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
117 116 hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
118 117 hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
119 118 hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
120 119 hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
121 120 hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
122 121 hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
123 122 hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
124 123 hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
125 124 hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
126 125 hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
127 126 hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob)
128 127 hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
129 128 hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
130 129 hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
131 130 hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
132 131 hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
133 132 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
134 133 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob)
135 134 hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
136 135 hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
137 136 hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob)
138 137 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob)
139 138 hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
140 139 hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
141 140 hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
142 141 hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
143 142 hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
144 143 hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
145 144 hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
146 145 hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
147 146 hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
148 147 hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
149 148 hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
150 149 hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
151 150 hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
152 151 hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
153 152 hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
154 153 hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
155 154 hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
156 155 hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob)
157 156 hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob)
158 157 hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
159 158 hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
160 159 hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
161 160 hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
162 161 hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
163 162 hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
164 163 hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
165 164 hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
166 165 hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
167 166 hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
168 167 hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
169 168 hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
170 169 hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob)
171 170 hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
172 171 mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
173 172 mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
174 173 mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
175 174 mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
176 175 mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
177 176 mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
178 177 mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
179 178 mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
180 179 mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
181 180 mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
182 181 mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob)
183 182 mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
184 183 mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
185 184 mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
186 185 mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
187 186 mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
188 187 mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
189 188 mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
190 189 mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
191 190 mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
192 191 mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
193 192 mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
194 193 mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
195 194 mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
196 195 mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob)
197 196 mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
198 197 mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
199 198 mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
200 199 mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
201 200 mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
202 201 mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
203 202 mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
204 203 mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
205 204 mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob)
206 205 mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
207 206 mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
208 207 mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob)
209 208 mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
210 209 mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
211 210 mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
212 211 mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
213 212 mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob)
214 213 mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
215 214 mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
216 215 mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
217 216 mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
218 217 mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
219 218 mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
220 219 mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
221 220 mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
222 221 mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
223 222 mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
224 223 mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
225 224 mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
226 225 mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
227 226 mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
228 227 mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
229 228 mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
230 229 mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
231 230 mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
232 231 mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
233 232 mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
234 233 mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
235 234 mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
236 235 mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob)
237 236 mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
238 237 mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
239 238 mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
240 239 mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
241 240 mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
242 241 mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
243 242 mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob)
244 243 mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
245 244 mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob)
246 245 mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob)
247 246 mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
248 247 mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
249 248 mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
250 249 mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob)
251 250 mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
252 251 mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
253 252 mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
254 253 mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
255 254 mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob)
256 255 mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob)
257 256 mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob)
258 257 mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob)
259 258 mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
260 259 mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
261 tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
262 260 tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
263 261 tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
264 262 tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
265 263 tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
266 264 tests/test-bdiff.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
267 265 tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
268 266 tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
269 267 tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
270 268 tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
271 269 tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
272 270 tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
273 271 tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
274 272 tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
275 273 tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
276 274 tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
277 275 tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
278 276 tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
279 277 tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
280 278 tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob)
281 279 tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
282 280
283 281 #endif
General Comments 0
You need to be logged in to leave comments. Login now