Show More
@@ -1,262 +1,261 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 | doc/check-seclevel.py not using absolute_import |
|
6 | doc/check-seclevel.py not using absolute_import | |
7 | doc/gendoc.py not using absolute_import |
|
7 | doc/gendoc.py not using absolute_import | |
8 | doc/hgmanpage.py not using absolute_import |
|
8 | doc/hgmanpage.py not using absolute_import | |
9 | hgext/color.py not using absolute_import |
|
9 | hgext/color.py not using absolute_import | |
10 | hgext/eol.py not using absolute_import |
|
10 | hgext/eol.py not using absolute_import | |
11 | hgext/extdiff.py not using absolute_import |
|
11 | hgext/extdiff.py not using absolute_import | |
12 | hgext/factotum.py not using absolute_import |
|
12 | hgext/factotum.py not using absolute_import | |
13 | hgext/fetch.py not using absolute_import |
|
13 | hgext/fetch.py not using absolute_import | |
14 | hgext/fsmonitor/pywatchman/__init__.py not using absolute_import |
|
14 | hgext/fsmonitor/pywatchman/__init__.py not using absolute_import | |
15 | hgext/fsmonitor/pywatchman/__init__.py requires print_function |
|
15 | hgext/fsmonitor/pywatchman/__init__.py requires print_function | |
16 | hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import |
|
16 | hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import | |
17 | hgext/fsmonitor/pywatchman/pybser.py not using absolute_import |
|
17 | hgext/fsmonitor/pywatchman/pybser.py not using absolute_import | |
18 | hgext/gpg.py not using absolute_import |
|
18 | hgext/gpg.py not using absolute_import | |
19 | hgext/graphlog.py not using absolute_import |
|
19 | hgext/graphlog.py not using absolute_import | |
20 | hgext/hgcia.py not using absolute_import |
|
20 | hgext/hgcia.py not using absolute_import | |
21 | hgext/hgk.py not using absolute_import |
|
21 | hgext/hgk.py not using absolute_import | |
22 | hgext/highlight/__init__.py not using absolute_import |
|
22 | hgext/highlight/__init__.py not using absolute_import | |
23 | hgext/highlight/highlight.py not using absolute_import |
|
23 | hgext/highlight/highlight.py not using absolute_import | |
24 | hgext/histedit.py not using absolute_import |
|
24 | hgext/histedit.py not using absolute_import | |
25 | hgext/largefiles/__init__.py not using absolute_import |
|
25 | hgext/largefiles/__init__.py not using absolute_import | |
26 | hgext/largefiles/basestore.py not using absolute_import |
|
26 | hgext/largefiles/basestore.py not using absolute_import | |
27 | hgext/largefiles/lfcommands.py not using absolute_import |
|
27 | hgext/largefiles/lfcommands.py not using absolute_import | |
28 | hgext/largefiles/lfutil.py not using absolute_import |
|
28 | hgext/largefiles/lfutil.py not using absolute_import | |
29 | hgext/largefiles/localstore.py not using absolute_import |
|
29 | hgext/largefiles/localstore.py not using absolute_import | |
30 | hgext/largefiles/overrides.py not using absolute_import |
|
30 | hgext/largefiles/overrides.py not using absolute_import | |
31 | hgext/largefiles/proto.py not using absolute_import |
|
31 | hgext/largefiles/proto.py not using absolute_import | |
32 | hgext/largefiles/remotestore.py not using absolute_import |
|
32 | hgext/largefiles/remotestore.py not using absolute_import | |
33 | hgext/largefiles/reposetup.py not using absolute_import |
|
33 | hgext/largefiles/reposetup.py not using absolute_import | |
34 | hgext/largefiles/uisetup.py not using absolute_import |
|
34 | hgext/largefiles/uisetup.py not using absolute_import | |
35 | hgext/largefiles/wirestore.py not using absolute_import |
|
35 | hgext/largefiles/wirestore.py not using absolute_import | |
36 | hgext/mq.py not using absolute_import |
|
36 | hgext/mq.py not using absolute_import | |
37 | hgext/rebase.py not using absolute_import |
|
37 | hgext/rebase.py not using absolute_import | |
38 | hgext/share.py not using absolute_import |
|
38 | hgext/share.py not using absolute_import | |
39 | hgext/win32text.py not using absolute_import |
|
39 | hgext/win32text.py not using absolute_import | |
40 | i18n/check-translation.py not using absolute_import |
|
40 | i18n/check-translation.py not using absolute_import | |
41 | i18n/polib.py not using absolute_import |
|
41 | i18n/polib.py not using absolute_import | |
42 | setup.py not using absolute_import |
|
42 | setup.py not using absolute_import | |
43 | tests/heredoctest.py requires print_function |
|
43 | tests/heredoctest.py requires print_function | |
44 | tests/killdaemons.py not using absolute_import |
|
44 | tests/killdaemons.py not using absolute_import | |
45 | tests/md5sum.py not using absolute_import |
|
45 | tests/md5sum.py not using absolute_import | |
46 | tests/mockblackbox.py not using absolute_import |
|
46 | tests/mockblackbox.py not using absolute_import | |
47 | tests/printenv.py not using absolute_import |
|
47 | tests/printenv.py not using absolute_import | |
48 | tests/readlink.py not using absolute_import |
|
48 | tests/readlink.py not using absolute_import | |
49 | tests/readlink.py requires print_function |
|
49 | tests/readlink.py requires print_function | |
50 | tests/revlog-formatv0.py not using absolute_import |
|
50 | tests/revlog-formatv0.py not using absolute_import | |
51 | tests/run-tests.py not using absolute_import |
|
51 | tests/run-tests.py not using absolute_import | |
52 | tests/sitecustomize.py not using absolute_import |
|
52 | tests/sitecustomize.py not using absolute_import | |
53 | tests/svn-safe-append.py not using absolute_import |
|
53 | tests/svn-safe-append.py not using absolute_import | |
54 | tests/svnxml.py not using absolute_import |
|
54 | tests/svnxml.py not using absolute_import | |
55 | tests/test-atomictempfile.py not using absolute_import |
|
55 | tests/test-atomictempfile.py not using absolute_import | |
56 | tests/test-demandimport.py not using absolute_import |
|
56 | tests/test-demandimport.py not using absolute_import | |
57 | tests/test-demandimport.py requires print_function |
|
57 | tests/test-demandimport.py requires print_function | |
58 | tests/test-doctest.py not using absolute_import |
|
58 | tests/test-doctest.py not using absolute_import | |
59 | tests/test-filecache.py not using absolute_import |
|
|||
60 | tests/test-filecache.py requires print_function |
|
59 | tests/test-filecache.py requires print_function | |
61 | tests/test-filelog.py not using absolute_import |
|
60 | tests/test-filelog.py not using absolute_import | |
62 | tests/test-filelog.py requires print_function |
|
61 | tests/test-filelog.py requires print_function | |
63 | tests/test-hg-parseurl.py not using absolute_import |
|
62 | tests/test-hg-parseurl.py not using absolute_import | |
64 | tests/test-hg-parseurl.py requires print_function |
|
63 | tests/test-hg-parseurl.py requires print_function | |
65 | tests/test-hgweb-auth.py not using absolute_import |
|
64 | tests/test-hgweb-auth.py not using absolute_import | |
66 | tests/test-hgweb-auth.py requires print_function |
|
65 | tests/test-hgweb-auth.py requires print_function | |
67 | tests/test-hgwebdir-paths.py not using absolute_import |
|
66 | tests/test-hgwebdir-paths.py not using absolute_import | |
68 | tests/test-hybridencode.py not using absolute_import |
|
67 | tests/test-hybridencode.py not using absolute_import | |
69 | tests/test-hybridencode.py requires print_function |
|
68 | tests/test-hybridencode.py requires print_function | |
70 | tests/test-lrucachedict.py not using absolute_import |
|
69 | tests/test-lrucachedict.py not using absolute_import | |
71 | tests/test-lrucachedict.py requires print_function |
|
70 | tests/test-lrucachedict.py requires print_function | |
72 | tests/test-manifest.py not using absolute_import |
|
71 | tests/test-manifest.py not using absolute_import | |
73 | tests/test-minirst.py not using absolute_import |
|
72 | tests/test-minirst.py not using absolute_import | |
74 | tests/test-minirst.py requires print_function |
|
73 | tests/test-minirst.py requires print_function | |
75 | tests/test-parseindex2.py not using absolute_import |
|
74 | tests/test-parseindex2.py not using absolute_import | |
76 | tests/test-parseindex2.py requires print_function |
|
75 | tests/test-parseindex2.py requires print_function | |
77 | tests/test-pathencode.py not using absolute_import |
|
76 | tests/test-pathencode.py not using absolute_import | |
78 | tests/test-pathencode.py requires print_function |
|
77 | tests/test-pathencode.py requires print_function | |
79 | tests/test-propertycache.py not using absolute_import |
|
78 | tests/test-propertycache.py not using absolute_import | |
80 | tests/test-propertycache.py requires print_function |
|
79 | tests/test-propertycache.py requires print_function | |
81 | tests/test-revlog-ancestry.py not using absolute_import |
|
80 | tests/test-revlog-ancestry.py not using absolute_import | |
82 | tests/test-revlog-ancestry.py requires print_function |
|
81 | tests/test-revlog-ancestry.py requires print_function | |
83 | tests/test-run-tests.py not using absolute_import |
|
82 | tests/test-run-tests.py not using absolute_import | |
84 | tests/test-simplemerge.py not using absolute_import |
|
83 | tests/test-simplemerge.py not using absolute_import | |
85 | tests/test-status-inprocess.py not using absolute_import |
|
84 | tests/test-status-inprocess.py not using absolute_import | |
86 | tests/test-status-inprocess.py requires print_function |
|
85 | tests/test-status-inprocess.py requires print_function | |
87 | tests/test-symlink-os-yes-fs-no.py not using absolute_import |
|
86 | tests/test-symlink-os-yes-fs-no.py not using absolute_import | |
88 | tests/test-trusted.py not using absolute_import |
|
87 | tests/test-trusted.py not using absolute_import | |
89 | tests/test-trusted.py requires print_function |
|
88 | tests/test-trusted.py requires print_function | |
90 | tests/test-ui-color.py not using absolute_import |
|
89 | tests/test-ui-color.py not using absolute_import | |
91 | tests/test-url.py not using absolute_import |
|
90 | tests/test-url.py not using absolute_import | |
92 |
|
91 | |||
93 | #if py3exe |
|
92 | #if py3exe | |
94 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py |
|
93 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py | |
95 | contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob) |
|
94 | contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob) | |
96 | doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
95 | doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
97 | hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
96 | hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
98 | hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
|
97 | hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) | |
99 | hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
98 | hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
100 | hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob) |
|
99 | hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line *) (glob) | |
101 | hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
100 | hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
102 | hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) |
|
101 | hgext/chgserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) | |
103 | hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
102 | hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
104 | hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
103 | hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
105 | hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
104 | hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
106 | hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
105 | hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
107 | hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) |
|
106 | hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) | |
108 | hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
107 | hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) | |
109 | hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
108 | hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
110 | hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
109 | hgext/convert/cvs.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
111 | hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
110 | hgext/convert/cvsps.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) | |
112 | hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
111 | hgext/convert/darcs.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
113 | hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) |
|
112 | hgext/convert/filemap.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) | |
114 | hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
113 | hgext/convert/git.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
115 | hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
114 | hgext/convert/gnuarch.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
116 | hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
115 | hgext/convert/hg.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
117 | hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
116 | hgext/convert/monotone.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
118 | hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
117 | hgext/convert/p*.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
119 | hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
118 | hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) | |
120 | hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) |
|
119 | hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) | |
121 | hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
120 | hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
122 | hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
121 | hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
123 | hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob) |
|
122 | hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:*) (glob) | |
124 | hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
|
123 | hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) | |
125 | hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
124 | hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
126 | hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
125 | hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
127 | hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
126 | hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
128 | hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
127 | hgext/graphlog.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
129 | hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
128 | hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
130 | hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
129 | hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
131 | hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
130 | hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
132 | hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
131 | hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) | |
133 | hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
132 | hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
134 | hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
133 | hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
135 | hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
134 | hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
136 | hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
135 | hgext/largefiles/lfutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
137 | hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) |
|
136 | hgext/largefiles/localstore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) | |
138 | hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
137 | hgext/largefiles/overrides.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
139 | hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
138 | hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
140 | hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
139 | hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
141 | hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
140 | hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
142 | hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) |
|
141 | hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) | |
143 | hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) |
|
142 | hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line *) (glob) | |
144 | hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
143 | hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
145 | hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
144 | hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
146 | hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
145 | hgext/pager.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
147 | hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
146 | hgext/patchbomb.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
148 | hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
147 | hgext/purge.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
149 | hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
148 | hgext/rebase.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
150 | hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
149 | hgext/record.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
151 | hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
150 | hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
152 | hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
151 | hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
153 | hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
152 | hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
154 | hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
153 | hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) | |
155 | hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
154 | hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
156 | hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob) |
|
155 | hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob) | |
157 | hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
156 | hgext/win*text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
158 | mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
157 | mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
159 | mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
158 | mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
160 | mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
159 | mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) | |
161 | mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
160 | mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
162 | mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
161 | mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) | |
163 | mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
162 | mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
164 | mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
163 | mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) | |
165 | mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
164 | mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
166 | mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
165 | mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
167 | mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
166 | mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
168 | mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) |
|
167 | mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line *) (glob) | |
169 | mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
168 | mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
170 | mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
169 | mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
171 | mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
170 | mercurial/copies.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
172 | mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
171 | mercurial/crecord.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
173 | mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
172 | mercurial/destutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
174 | mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
173 | mercurial/dirstate.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
175 | mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
174 | mercurial/discovery.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
176 | mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
175 | mercurial/dispatch.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
177 | mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
176 | mercurial/exchange.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
178 | mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
177 | mercurial/extensions.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
179 | mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
178 | mercurial/filelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
180 | mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
179 | mercurial/filemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
181 | mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
180 | mercurial/fileset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
182 | mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
|
181 | mercurial/formatter.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) | |
183 | mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
182 | mercurial/graphmod.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
184 | mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
183 | mercurial/help.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
185 | mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
184 | mercurial/hg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
186 | mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) |
|
185 | mercurial/hgweb/common.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) | |
187 | mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
186 | mercurial/hgweb/hgweb_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
188 | mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
187 | mercurial/hgweb/hgwebdir_mod.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
189 | mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
188 | mercurial/hgweb/protocol.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
190 | mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
189 | mercurial/hgweb/request.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
191 | mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) |
|
190 | mercurial/hgweb/server.py: error importing module: <ImportError> No module named 'BaseHTTPServer' (line *) (glob) | |
192 | mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
191 | mercurial/hgweb/webcommands.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
193 | mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
192 | mercurial/hgweb/webutil.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
194 | mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) |
|
193 | mercurial/hgweb/wsgicgi.py: error importing module: <SystemError> Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) | |
195 | mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
194 | mercurial/hook.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
196 | mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
195 | mercurial/httpclient/_readers.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) | |
197 | mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
196 | mercurial/httpconnection.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
198 | mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
197 | mercurial/httppeer.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) | |
199 | mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) |
|
198 | mercurial/keepalive.py: error importing module: <ImportError> No module named 'httplib' (line *) (glob) | |
200 | mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
199 | mercurial/localrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
201 | mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
200 | mercurial/lock.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
202 | mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
201 | mercurial/mail.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
203 | mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
202 | mercurial/manifest.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
204 | mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
203 | mercurial/match.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
205 | mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
204 | mercurial/mdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
206 | mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
205 | mercurial/merge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
207 | mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
206 | mercurial/minirst.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
208 | mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) |
|
207 | mercurial/namespaces.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) | |
209 | mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
208 | mercurial/obsolete.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
210 | mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
209 | mercurial/patch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
211 | mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
210 | mercurial/pathutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
212 | mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
211 | mercurial/peer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
213 | mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
212 | mercurial/pure/mpatch.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
214 | mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
213 | mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
215 | mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
214 | mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
216 | mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
215 | mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
217 | mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
216 | mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
218 | mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
217 | mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) | |
219 | mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
218 | mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
220 | mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
219 | mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
221 | mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
220 | mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
222 | mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob) |
|
221 | mercurial/scmutil.py: error importing module: <ImportError> No module named 'Queue' (line *) (glob) | |
223 | mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) |
|
222 | mercurial/scmwindows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) | |
224 | mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
223 | mercurial/similar.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
225 | mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
224 | mercurial/simplemerge.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
226 | mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
225 | mercurial/sshpeer.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
227 | mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
226 | mercurial/sshserver.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
228 | mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
227 | mercurial/sslutil.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
229 | mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) |
|
228 | mercurial/statichttprepo.py: error importing module: <ImportError> No module named 'urllib2' (line *) (glob) | |
230 | mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
229 | mercurial/store.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
231 | mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) |
|
230 | mercurial/streamclone.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:*) (glob) | |
232 | mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) |
|
231 | mercurial/subrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:*) (glob) | |
233 | mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
232 | mercurial/tagmerge.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
234 | mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
233 | mercurial/tags.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
235 | mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
234 | mercurial/templatefilters.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
236 | mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) |
|
235 | mercurial/templatekw.py: error importing: <ImportError> No module named 'cStringIO' (error at patch.py:*) (glob) | |
237 | mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
236 | mercurial/templater.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
238 | mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
237 | mercurial/transaction.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
239 | mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
238 | mercurial/ui.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
240 | mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
239 | mercurial/unionrepo.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
241 | mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) |
|
240 | mercurial/url.py: error importing module: <ImportError> No module named 'cStringIO' (line *) (glob) | |
242 | mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) |
|
241 | mercurial/util.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:*) (glob) | |
243 | mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) |
|
242 | mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:*) (glob) | |
244 | mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob) |
|
243 | mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob) | |
245 | mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) |
|
244 | mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) | |
246 | mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) |
|
245 | mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) | |
247 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
246 | tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
248 | tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
247 | tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
249 | tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
248 | tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
250 | tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
249 | tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
251 | tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
250 | tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
252 | tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
251 | tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
253 | tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
252 | tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
254 | tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
253 | tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
255 | tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
254 | tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
256 | tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
255 | tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
257 | tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
256 | tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
258 | tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
257 | tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
259 | tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) |
|
258 | tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) | |
260 | tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) |
|
259 | tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) | |
261 |
|
260 | |||
262 | #endif |
|
261 | #endif |
@@ -1,184 +1,187 b'' | |||||
1 | import sys, os, subprocess |
|
1 | from __future__ import absolute_import | |
|
2 | import os | |||
|
3 | import subprocess | |||
|
4 | import sys | |||
2 |
|
5 | |||
3 | if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], |
|
6 | if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], | |
4 | 'cacheable']): |
|
7 | 'cacheable']): | |
5 | sys.exit(80) |
|
8 | sys.exit(80) | |
6 |
|
9 | |||
7 | from mercurial import util, scmutil, extensions, hg, ui |
|
10 | from mercurial import util, scmutil, extensions, hg, ui | |
8 |
|
11 | |||
9 | filecache = scmutil.filecache |
|
12 | filecache = scmutil.filecache | |
10 |
|
13 | |||
11 | class fakerepo(object): |
|
14 | class fakerepo(object): | |
12 | def __init__(self): |
|
15 | def __init__(self): | |
13 | self._filecache = {} |
|
16 | self._filecache = {} | |
14 |
|
17 | |||
15 | def join(self, p): |
|
18 | def join(self, p): | |
16 | return p |
|
19 | return p | |
17 |
|
20 | |||
18 | def sjoin(self, p): |
|
21 | def sjoin(self, p): | |
19 | return p |
|
22 | return p | |
20 |
|
23 | |||
21 | @filecache('x', 'y') |
|
24 | @filecache('x', 'y') | |
22 | def cached(self): |
|
25 | def cached(self): | |
23 | print 'creating' |
|
26 | print 'creating' | |
24 | return 'string from function' |
|
27 | return 'string from function' | |
25 |
|
28 | |||
26 | def invalidate(self): |
|
29 | def invalidate(self): | |
27 | for k in self._filecache: |
|
30 | for k in self._filecache: | |
28 | try: |
|
31 | try: | |
29 | delattr(self, k) |
|
32 | delattr(self, k) | |
30 | except AttributeError: |
|
33 | except AttributeError: | |
31 | pass |
|
34 | pass | |
32 |
|
35 | |||
33 | def basic(repo): |
|
36 | def basic(repo): | |
34 | print "* neither file exists" |
|
37 | print "* neither file exists" | |
35 | # calls function |
|
38 | # calls function | |
36 | repo.cached |
|
39 | repo.cached | |
37 |
|
40 | |||
38 | repo.invalidate() |
|
41 | repo.invalidate() | |
39 | print "* neither file still exists" |
|
42 | print "* neither file still exists" | |
40 | # uses cache |
|
43 | # uses cache | |
41 | repo.cached |
|
44 | repo.cached | |
42 |
|
45 | |||
43 | # create empty file |
|
46 | # create empty file | |
44 | f = open('x', 'w') |
|
47 | f = open('x', 'w') | |
45 | f.close() |
|
48 | f.close() | |
46 | repo.invalidate() |
|
49 | repo.invalidate() | |
47 | print "* empty file x created" |
|
50 | print "* empty file x created" | |
48 | # should recreate the object |
|
51 | # should recreate the object | |
49 | repo.cached |
|
52 | repo.cached | |
50 |
|
53 | |||
51 | f = open('x', 'w') |
|
54 | f = open('x', 'w') | |
52 | f.write('a') |
|
55 | f.write('a') | |
53 | f.close() |
|
56 | f.close() | |
54 | repo.invalidate() |
|
57 | repo.invalidate() | |
55 | print "* file x changed size" |
|
58 | print "* file x changed size" | |
56 | # should recreate the object |
|
59 | # should recreate the object | |
57 | repo.cached |
|
60 | repo.cached | |
58 |
|
61 | |||
59 | repo.invalidate() |
|
62 | repo.invalidate() | |
60 | print "* nothing changed with either file" |
|
63 | print "* nothing changed with either file" | |
61 | # stats file again, reuses object |
|
64 | # stats file again, reuses object | |
62 | repo.cached |
|
65 | repo.cached | |
63 |
|
66 | |||
64 | # atomic replace file, size doesn't change |
|
67 | # atomic replace file, size doesn't change | |
65 | # hopefully st_mtime doesn't change as well so this doesn't use the cache |
|
68 | # hopefully st_mtime doesn't change as well so this doesn't use the cache | |
66 | # because of inode change |
|
69 | # because of inode change | |
67 | f = scmutil.opener('.')('x', 'w', atomictemp=True) |
|
70 | f = scmutil.opener('.')('x', 'w', atomictemp=True) | |
68 | f.write('b') |
|
71 | f.write('b') | |
69 | f.close() |
|
72 | f.close() | |
70 |
|
73 | |||
71 | repo.invalidate() |
|
74 | repo.invalidate() | |
72 | print "* file x changed inode" |
|
75 | print "* file x changed inode" | |
73 | repo.cached |
|
76 | repo.cached | |
74 |
|
77 | |||
75 | # create empty file y |
|
78 | # create empty file y | |
76 | f = open('y', 'w') |
|
79 | f = open('y', 'w') | |
77 | f.close() |
|
80 | f.close() | |
78 | repo.invalidate() |
|
81 | repo.invalidate() | |
79 | print "* empty file y created" |
|
82 | print "* empty file y created" | |
80 | # should recreate the object |
|
83 | # should recreate the object | |
81 | repo.cached |
|
84 | repo.cached | |
82 |
|
85 | |||
83 | f = open('y', 'w') |
|
86 | f = open('y', 'w') | |
84 | f.write('A') |
|
87 | f.write('A') | |
85 | f.close() |
|
88 | f.close() | |
86 | repo.invalidate() |
|
89 | repo.invalidate() | |
87 | print "* file y changed size" |
|
90 | print "* file y changed size" | |
88 | # should recreate the object |
|
91 | # should recreate the object | |
89 | repo.cached |
|
92 | repo.cached | |
90 |
|
93 | |||
91 | f = scmutil.opener('.')('y', 'w', atomictemp=True) |
|
94 | f = scmutil.opener('.')('y', 'w', atomictemp=True) | |
92 | f.write('B') |
|
95 | f.write('B') | |
93 | f.close() |
|
96 | f.close() | |
94 |
|
97 | |||
95 | repo.invalidate() |
|
98 | repo.invalidate() | |
96 | print "* file y changed inode" |
|
99 | print "* file y changed inode" | |
97 | repo.cached |
|
100 | repo.cached | |
98 |
|
101 | |||
99 | f = scmutil.opener('.')('x', 'w', atomictemp=True) |
|
102 | f = scmutil.opener('.')('x', 'w', atomictemp=True) | |
100 | f.write('c') |
|
103 | f.write('c') | |
101 | f.close() |
|
104 | f.close() | |
102 | f = scmutil.opener('.')('y', 'w', atomictemp=True) |
|
105 | f = scmutil.opener('.')('y', 'w', atomictemp=True) | |
103 | f.write('C') |
|
106 | f.write('C') | |
104 | f.close() |
|
107 | f.close() | |
105 |
|
108 | |||
106 | repo.invalidate() |
|
109 | repo.invalidate() | |
107 | print "* both files changed inode" |
|
110 | print "* both files changed inode" | |
108 | repo.cached |
|
111 | repo.cached | |
109 |
|
112 | |||
110 | def fakeuncacheable(): |
|
113 | def fakeuncacheable(): | |
111 | def wrapcacheable(orig, *args, **kwargs): |
|
114 | def wrapcacheable(orig, *args, **kwargs): | |
112 | return False |
|
115 | return False | |
113 |
|
116 | |||
114 | def wrapinit(orig, *args, **kwargs): |
|
117 | def wrapinit(orig, *args, **kwargs): | |
115 | pass |
|
118 | pass | |
116 |
|
119 | |||
117 | originit = extensions.wrapfunction(util.cachestat, '__init__', wrapinit) |
|
120 | originit = extensions.wrapfunction(util.cachestat, '__init__', wrapinit) | |
118 | origcacheable = extensions.wrapfunction(util.cachestat, 'cacheable', |
|
121 | origcacheable = extensions.wrapfunction(util.cachestat, 'cacheable', | |
119 | wrapcacheable) |
|
122 | wrapcacheable) | |
120 |
|
123 | |||
121 | for fn in ['x', 'y']: |
|
124 | for fn in ['x', 'y']: | |
122 | try: |
|
125 | try: | |
123 | os.remove(fn) |
|
126 | os.remove(fn) | |
124 | except OSError: |
|
127 | except OSError: | |
125 | pass |
|
128 | pass | |
126 |
|
129 | |||
127 | basic(fakerepo()) |
|
130 | basic(fakerepo()) | |
128 |
|
131 | |||
129 | util.cachestat.cacheable = origcacheable |
|
132 | util.cachestat.cacheable = origcacheable | |
130 | util.cachestat.__init__ = originit |
|
133 | util.cachestat.__init__ = originit | |
131 |
|
134 | |||
132 | def test_filecache_synced(): |
|
135 | def test_filecache_synced(): | |
133 | # test old behavior that caused filecached properties to go out of sync |
|
136 | # test old behavior that caused filecached properties to go out of sync | |
134 | os.system('hg init && echo a >> a && hg ci -qAm.') |
|
137 | os.system('hg init && echo a >> a && hg ci -qAm.') | |
135 | repo = hg.repository(ui.ui()) |
|
138 | repo = hg.repository(ui.ui()) | |
136 | # first rollback clears the filecache, but changelog to stays in __dict__ |
|
139 | # first rollback clears the filecache, but changelog to stays in __dict__ | |
137 | repo.rollback() |
|
140 | repo.rollback() | |
138 | repo.commit('.') |
|
141 | repo.commit('.') | |
139 | # second rollback comes along and touches the changelog externally |
|
142 | # second rollback comes along and touches the changelog externally | |
140 | # (file is moved) |
|
143 | # (file is moved) | |
141 | repo.rollback() |
|
144 | repo.rollback() | |
142 | # but since changelog isn't under the filecache control anymore, we don't |
|
145 | # but since changelog isn't under the filecache control anymore, we don't | |
143 | # see that it changed, and return the old changelog without reconstructing |
|
146 | # see that it changed, and return the old changelog without reconstructing | |
144 | # it |
|
147 | # it | |
145 | repo.commit('.') |
|
148 | repo.commit('.') | |
146 |
|
149 | |||
147 | def setbeforeget(repo): |
|
150 | def setbeforeget(repo): | |
148 | os.remove('x') |
|
151 | os.remove('x') | |
149 | os.remove('y') |
|
152 | os.remove('y') | |
150 | repo.cached = 'string set externally' |
|
153 | repo.cached = 'string set externally' | |
151 | repo.invalidate() |
|
154 | repo.invalidate() | |
152 | print "* neither file exists" |
|
155 | print "* neither file exists" | |
153 | print repo.cached |
|
156 | print repo.cached | |
154 | repo.invalidate() |
|
157 | repo.invalidate() | |
155 | f = open('x', 'w') |
|
158 | f = open('x', 'w') | |
156 | f.write('a') |
|
159 | f.write('a') | |
157 | f.close() |
|
160 | f.close() | |
158 | print "* file x created" |
|
161 | print "* file x created" | |
159 | print repo.cached |
|
162 | print repo.cached | |
160 |
|
163 | |||
161 | repo.cached = 'string 2 set externally' |
|
164 | repo.cached = 'string 2 set externally' | |
162 | repo.invalidate() |
|
165 | repo.invalidate() | |
163 | print "* string set externally again" |
|
166 | print "* string set externally again" | |
164 | print repo.cached |
|
167 | print repo.cached | |
165 |
|
168 | |||
166 | repo.invalidate() |
|
169 | repo.invalidate() | |
167 | f = open('y', 'w') |
|
170 | f = open('y', 'w') | |
168 | f.write('b') |
|
171 | f.write('b') | |
169 | f.close() |
|
172 | f.close() | |
170 | print "* file y created" |
|
173 | print "* file y created" | |
171 | print repo.cached |
|
174 | print repo.cached | |
172 |
|
175 | |||
173 | print 'basic:' |
|
176 | print 'basic:' | |
174 |
|
177 | |||
175 | basic(fakerepo()) |
|
178 | basic(fakerepo()) | |
176 |
|
179 | |||
177 | print 'fakeuncacheable:' |
|
180 | print 'fakeuncacheable:' | |
178 |
|
181 | |||
179 | fakeuncacheable() |
|
182 | fakeuncacheable() | |
180 | test_filecache_synced() |
|
183 | test_filecache_synced() | |
181 |
|
184 | |||
182 | print 'setbeforeget:' |
|
185 | print 'setbeforeget:' | |
183 |
|
186 | |||
184 | setbeforeget(fakerepo()) |
|
187 | setbeforeget(fakerepo()) |
General Comments 0
You need to be logged in to leave comments.
Login now