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