##// END OF EJS Templates
tests: port test-filelog.py to Python 3...
Augie Fackler -
r37952:f71c97d9 default
parent child Browse files
Show More
@@ -1,480 +1,481 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-add.t
2 test-add.t
3 test-addremove-similar.t
3 test-addremove-similar.t
4 test-addremove.t
4 test-addremove.t
5 test-amend-subrepo.t
5 test-amend-subrepo.t
6 test-amend.t
6 test-amend.t
7 test-ancestor.py
7 test-ancestor.py
8 test-annotate.py
8 test-annotate.py
9 test-annotate.t
9 test-annotate.t
10 test-archive-symlinks.t
10 test-archive-symlinks.t
11 test-atomictempfile.py
11 test-atomictempfile.py
12 test-audit-path.t
12 test-audit-path.t
13 test-audit-subrepo.t
13 test-audit-subrepo.t
14 test-automv.t
14 test-automv.t
15 test-backout.t
15 test-backout.t
16 test-backwards-remove.t
16 test-backwards-remove.t
17 test-basic.t
17 test-basic.t
18 test-bheads.t
18 test-bheads.t
19 test-bisect.t
19 test-bisect.t
20 test-bisect2.t
20 test-bisect2.t
21 test-bisect3.t
21 test-bisect3.t
22 test-blackbox.t
22 test-blackbox.t
23 test-bookmarks-current.t
23 test-bookmarks-current.t
24 test-bookmarks-merge.t
24 test-bookmarks-merge.t
25 test-bookmarks-rebase.t
25 test-bookmarks-rebase.t
26 test-bookmarks-strip.t
26 test-bookmarks-strip.t
27 test-bookmarks.t
27 test-bookmarks.t
28 test-branch-change.t
28 test-branch-change.t
29 test-branch-option.t
29 test-branch-option.t
30 test-branch-tag-confict.t
30 test-branch-tag-confict.t
31 test-branches.t
31 test-branches.t
32 test-bundle-phases.t
32 test-bundle-phases.t
33 test-bundle-type.t
33 test-bundle-type.t
34 test-bundle-vs-outgoing.t
34 test-bundle-vs-outgoing.t
35 test-bundle2-multiple-changegroups.t
35 test-bundle2-multiple-changegroups.t
36 test-cappedreader.py
36 test-cappedreader.py
37 test-casecollision.t
37 test-casecollision.t
38 test-cat.t
38 test-cat.t
39 test-cbor.py
39 test-cbor.py
40 test-censor.t
40 test-censor.t
41 test-changelog-exec.t
41 test-changelog-exec.t
42 test-check-commit.t
42 test-check-commit.t
43 test-check-execute.t
43 test-check-execute.t
44 test-check-interfaces.py
44 test-check-interfaces.py
45 test-check-module-imports.t
45 test-check-module-imports.t
46 test-check-pyflakes.t
46 test-check-pyflakes.t
47 test-check-pylint.t
47 test-check-pylint.t
48 test-check-shbang.t
48 test-check-shbang.t
49 test-children.t
49 test-children.t
50 test-clone-cgi.t
50 test-clone-cgi.t
51 test-clone-pull-corruption.t
51 test-clone-pull-corruption.t
52 test-clone-r.t
52 test-clone-r.t
53 test-clone-update-order.t
53 test-clone-update-order.t
54 test-command-template.t
54 test-command-template.t
55 test-commit-amend.t
55 test-commit-amend.t
56 test-commit-interactive.t
56 test-commit-interactive.t
57 test-commit-multiple.t
57 test-commit-multiple.t
58 test-commit-unresolved.t
58 test-commit-unresolved.t
59 test-commit.t
59 test-commit.t
60 test-committer.t
60 test-committer.t
61 test-completion.t
61 test-completion.t
62 test-config-env.py
62 test-config-env.py
63 test-config.t
63 test-config.t
64 test-conflict.t
64 test-conflict.t
65 test-confused-revert.t
65 test-confused-revert.t
66 test-context.py
66 test-context.py
67 test-contrib-check-code.t
67 test-contrib-check-code.t
68 test-contrib-check-commit.t
68 test-contrib-check-commit.t
69 test-convert-authormap.t
69 test-convert-authormap.t
70 test-convert-clonebranches.t
70 test-convert-clonebranches.t
71 test-convert-cvs-branch.t
71 test-convert-cvs-branch.t
72 test-convert-cvs-detectmerge.t
72 test-convert-cvs-detectmerge.t
73 test-convert-cvs.t
73 test-convert-cvs.t
74 test-convert-datesort.t
74 test-convert-datesort.t
75 test-convert-filemap.t
75 test-convert-filemap.t
76 test-convert-hg-sink.t
76 test-convert-hg-sink.t
77 test-convert-hg-source.t
77 test-convert-hg-source.t
78 test-convert-hg-startrev.t
78 test-convert-hg-startrev.t
79 test-convert-splicemap.t
79 test-convert-splicemap.t
80 test-convert-tagsbranch-topology.t
80 test-convert-tagsbranch-topology.t
81 test-copy-move-merge.t
81 test-copy-move-merge.t
82 test-copy.t
82 test-copy.t
83 test-copytrace-heuristics.t
83 test-copytrace-heuristics.t
84 test-debugbuilddag.t
84 test-debugbuilddag.t
85 test-debugbundle.t
85 test-debugbundle.t
86 test-debugextensions.t
86 test-debugextensions.t
87 test-debugindexdot.t
87 test-debugindexdot.t
88 test-debugrename.t
88 test-debugrename.t
89 test-default-push.t
89 test-default-push.t
90 test-diff-binary-file.t
90 test-diff-binary-file.t
91 test-diff-change.t
91 test-diff-change.t
92 test-diff-copy-depth.t
92 test-diff-copy-depth.t
93 test-diff-hashes.t
93 test-diff-hashes.t
94 test-diff-ignore-whitespace.t
94 test-diff-ignore-whitespace.t
95 test-diff-indent-heuristic.t
95 test-diff-indent-heuristic.t
96 test-diff-issue2761.t
96 test-diff-issue2761.t
97 test-diff-newlines.t
97 test-diff-newlines.t
98 test-diff-reverse.t
98 test-diff-reverse.t
99 test-diff-subdir.t
99 test-diff-subdir.t
100 test-diff-unified.t
100 test-diff-unified.t
101 test-diff-upgrade.t
101 test-diff-upgrade.t
102 test-diffdir.t
102 test-diffdir.t
103 test-diffstat.t
103 test-diffstat.t
104 test-directaccess.t
104 test-directaccess.t
105 test-dirstate-backup.t
105 test-dirstate-backup.t
106 test-dirstate-nonnormalset.t
106 test-dirstate-nonnormalset.t
107 test-dirstate.t
107 test-dirstate.t
108 test-dispatch.py
108 test-dispatch.py
109 test-doctest.py
109 test-doctest.py
110 test-double-merge.t
110 test-double-merge.t
111 test-drawdag.t
111 test-drawdag.t
112 test-duplicateoptions.py
112 test-duplicateoptions.py
113 test-editor-filename.t
113 test-editor-filename.t
114 test-empty-dir.t
114 test-empty-dir.t
115 test-empty-file.t
115 test-empty-file.t
116 test-empty-group.t
116 test-empty-group.t
117 test-empty.t
117 test-empty.t
118 test-encode.t
118 test-encode.t
119 test-encoding-func.py
119 test-encoding-func.py
120 test-encoding.t
120 test-encoding.t
121 test-eol-add.t
121 test-eol-add.t
122 test-eol-clone.t
122 test-eol-clone.t
123 test-eol-hook.t
123 test-eol-hook.t
124 test-eol-tag.t
124 test-eol-tag.t
125 test-eol-update.t
125 test-eol-update.t
126 test-excessive-merge.t
126 test-excessive-merge.t
127 test-exchange-obsmarkers-case-A1.t
127 test-exchange-obsmarkers-case-A1.t
128 test-exchange-obsmarkers-case-A2.t
128 test-exchange-obsmarkers-case-A2.t
129 test-exchange-obsmarkers-case-A3.t
129 test-exchange-obsmarkers-case-A3.t
130 test-exchange-obsmarkers-case-A4.t
130 test-exchange-obsmarkers-case-A4.t
131 test-exchange-obsmarkers-case-A5.t
131 test-exchange-obsmarkers-case-A5.t
132 test-exchange-obsmarkers-case-A6.t
132 test-exchange-obsmarkers-case-A6.t
133 test-exchange-obsmarkers-case-A7.t
133 test-exchange-obsmarkers-case-A7.t
134 test-exchange-obsmarkers-case-B1.t
134 test-exchange-obsmarkers-case-B1.t
135 test-exchange-obsmarkers-case-B2.t
135 test-exchange-obsmarkers-case-B2.t
136 test-exchange-obsmarkers-case-B3.t
136 test-exchange-obsmarkers-case-B3.t
137 test-exchange-obsmarkers-case-B4.t
137 test-exchange-obsmarkers-case-B4.t
138 test-exchange-obsmarkers-case-B5.t
138 test-exchange-obsmarkers-case-B5.t
139 test-exchange-obsmarkers-case-B6.t
139 test-exchange-obsmarkers-case-B6.t
140 test-exchange-obsmarkers-case-B7.t
140 test-exchange-obsmarkers-case-B7.t
141 test-exchange-obsmarkers-case-C1.t
141 test-exchange-obsmarkers-case-C1.t
142 test-exchange-obsmarkers-case-C2.t
142 test-exchange-obsmarkers-case-C2.t
143 test-exchange-obsmarkers-case-C3.t
143 test-exchange-obsmarkers-case-C3.t
144 test-exchange-obsmarkers-case-C4.t
144 test-exchange-obsmarkers-case-C4.t
145 test-exchange-obsmarkers-case-D1.t
145 test-exchange-obsmarkers-case-D1.t
146 test-exchange-obsmarkers-case-D2.t
146 test-exchange-obsmarkers-case-D2.t
147 test-exchange-obsmarkers-case-D3.t
147 test-exchange-obsmarkers-case-D3.t
148 test-exchange-obsmarkers-case-D4.t
148 test-exchange-obsmarkers-case-D4.t
149 test-execute-bit.t
149 test-execute-bit.t
150 test-export.t
150 test-export.t
151 test-extdata.t
151 test-extdata.t
152 test-extdiff.t
152 test-extdiff.t
153 test-extra-filelog-entry.t
153 test-extra-filelog-entry.t
154 test-filebranch.t
154 test-filebranch.t
155 test-filecache.py
155 test-filecache.py
156 test-filelog.py
156 test-fileset-generated.t
157 test-fileset-generated.t
157 test-fix-topology.t
158 test-fix-topology.t
158 test-flags.t
159 test-flags.t
159 test-generaldelta.t
160 test-generaldelta.t
160 test-getbundle.t
161 test-getbundle.t
161 test-git-export.t
162 test-git-export.t
162 test-glog-topological.t
163 test-glog-topological.t
163 test-gpg.t
164 test-gpg.t
164 test-graft.t
165 test-graft.t
165 test-hg-parseurl.py
166 test-hg-parseurl.py
166 test-hghave.t
167 test-hghave.t
167 test-hgignore.t
168 test-hgignore.t
168 test-hgk.t
169 test-hgk.t
169 test-hgweb-bundle.t
170 test-hgweb-bundle.t
170 test-hgweb-descend-empties.t
171 test-hgweb-descend-empties.t
171 test-hgweb-empty.t
172 test-hgweb-empty.t
172 test-hgweb-removed.t
173 test-hgweb-removed.t
173 test-hgwebdir-paths.py
174 test-hgwebdir-paths.py
174 test-hgwebdirsym.t
175 test-hgwebdirsym.t
175 test-histedit-arguments.t
176 test-histedit-arguments.t
176 test-histedit-base.t
177 test-histedit-base.t
177 test-histedit-bookmark-motion.t
178 test-histedit-bookmark-motion.t
178 test-histedit-commute.t
179 test-histedit-commute.t
179 test-histedit-drop.t
180 test-histedit-drop.t
180 test-histedit-edit.t
181 test-histedit-edit.t
181 test-histedit-fold-non-commute.t
182 test-histedit-fold-non-commute.t
182 test-histedit-fold.t
183 test-histedit-fold.t
183 test-histedit-no-change.t
184 test-histedit-no-change.t
184 test-histedit-non-commute-abort.t
185 test-histedit-non-commute-abort.t
185 test-histedit-non-commute.t
186 test-histedit-non-commute.t
186 test-histedit-obsolete.t
187 test-histedit-obsolete.t
187 test-histedit-outgoing.t
188 test-histedit-outgoing.t
188 test-histedit-templates.t
189 test-histedit-templates.t
189 test-http-branchmap.t
190 test-http-branchmap.t
190 test-http-bundle1.t
191 test-http-bundle1.t
191 test-http-clone-r.t
192 test-http-clone-r.t
192 test-http.t
193 test-http.t
193 test-hybridencode.py
194 test-hybridencode.py
194 test-identify.t
195 test-identify.t
195 test-import-unknown.t
196 test-import-unknown.t
196 test-import.t
197 test-import.t
197 test-imports-checker.t
198 test-imports-checker.t
198 test-incoming-outgoing.t
199 test-incoming-outgoing.t
199 test-inherit-mode.t
200 test-inherit-mode.t
200 test-issue1089.t
201 test-issue1089.t
201 test-issue1102.t
202 test-issue1102.t
202 test-issue1175.t
203 test-issue1175.t
203 test-issue1306.t
204 test-issue1306.t
204 test-issue1438.t
205 test-issue1438.t
205 test-issue1502.t
206 test-issue1502.t
206 test-issue1802.t
207 test-issue1802.t
207 test-issue1877.t
208 test-issue1877.t
208 test-issue1993.t
209 test-issue1993.t
209 test-issue2137.t
210 test-issue2137.t
210 test-issue3084.t
211 test-issue3084.t
211 test-issue4074.t
212 test-issue4074.t
212 test-issue522.t
213 test-issue522.t
213 test-issue586.t
214 test-issue586.t
214 test-issue612.t
215 test-issue612.t
215 test-issue619.t
216 test-issue619.t
216 test-issue660.t
217 test-issue660.t
217 test-issue672.t
218 test-issue672.t
218 test-issue842.t
219 test-issue842.t
219 test-journal-exists.t
220 test-journal-exists.t
220 test-journal-share.t
221 test-journal-share.t
221 test-journal.t
222 test-journal.t
222 test-largefiles-cache.t
223 test-largefiles-cache.t
223 test-largefiles-misc.t
224 test-largefiles-misc.t
224 test-largefiles-small-disk.t
225 test-largefiles-small-disk.t
225 test-largefiles-update.t
226 test-largefiles-update.t
226 test-largefiles.t
227 test-largefiles.t
227 test-lfs-largefiles.t
228 test-lfs-largefiles.t
228 test-lfs-pointer.py
229 test-lfs-pointer.py
229 test-linerange.py
230 test-linerange.py
230 test-locate.t
231 test-locate.t
231 test-lock-badness.t
232 test-lock-badness.t
232 test-log-linerange.t
233 test-log-linerange.t
233 test-log.t
234 test-log.t
234 test-logexchange.t
235 test-logexchange.t
235 test-lrucachedict.py
236 test-lrucachedict.py
236 test-mactext.t
237 test-mactext.t
237 test-mailmap.t
238 test-mailmap.t
238 test-manifest-merging.t
239 test-manifest-merging.t
239 test-manifest.py
240 test-manifest.py
240 test-manifest.t
241 test-manifest.t
241 test-match.py
242 test-match.py
242 test-mdiff.py
243 test-mdiff.py
243 test-merge-changedelete.t
244 test-merge-changedelete.t
244 test-merge-closedheads.t
245 test-merge-closedheads.t
245 test-merge-commit.t
246 test-merge-commit.t
246 test-merge-criss-cross.t
247 test-merge-criss-cross.t
247 test-merge-default.t
248 test-merge-default.t
248 test-merge-force.t
249 test-merge-force.t
249 test-merge-halt.t
250 test-merge-halt.t
250 test-merge-internal-tools-pattern.t
251 test-merge-internal-tools-pattern.t
251 test-merge-local.t
252 test-merge-local.t
252 test-merge-remove.t
253 test-merge-remove.t
253 test-merge-revert.t
254 test-merge-revert.t
254 test-merge-revert2.t
255 test-merge-revert2.t
255 test-merge-subrepos.t
256 test-merge-subrepos.t
256 test-merge-symlinks.t
257 test-merge-symlinks.t
257 test-merge-tools.t
258 test-merge-tools.t
258 test-merge-types.t
259 test-merge-types.t
259 test-merge1.t
260 test-merge1.t
260 test-merge10.t
261 test-merge10.t
261 test-merge2.t
262 test-merge2.t
262 test-merge4.t
263 test-merge4.t
263 test-merge5.t
264 test-merge5.t
264 test-merge6.t
265 test-merge6.t
265 test-merge7.t
266 test-merge7.t
266 test-merge8.t
267 test-merge8.t
267 test-merge9.t
268 test-merge9.t
268 test-minifileset.py
269 test-minifileset.py
269 test-minirst.py
270 test-minirst.py
270 test-mq-git.t
271 test-mq-git.t
271 test-mq-header-date.t
272 test-mq-header-date.t
272 test-mq-header-from.t
273 test-mq-header-from.t
273 test-mq-merge.t
274 test-mq-merge.t
274 test-mq-pull-from-bundle.t
275 test-mq-pull-from-bundle.t
275 test-mq-qclone-http.t
276 test-mq-qclone-http.t
276 test-mq-qdelete.t
277 test-mq-qdelete.t
277 test-mq-qdiff.t
278 test-mq-qdiff.t
278 test-mq-qfold.t
279 test-mq-qfold.t
279 test-mq-qgoto.t
280 test-mq-qgoto.t
280 test-mq-qimport-fail-cleanup.t
281 test-mq-qimport-fail-cleanup.t
281 test-mq-qnew.t
282 test-mq-qnew.t
282 test-mq-qpush-exact.t
283 test-mq-qpush-exact.t
283 test-mq-qqueue.t
284 test-mq-qqueue.t
284 test-mq-qrefresh-interactive.t
285 test-mq-qrefresh-interactive.t
285 test-mq-qrefresh-replace-log-message.t
286 test-mq-qrefresh-replace-log-message.t
286 test-mq-qrefresh.t
287 test-mq-qrefresh.t
287 test-mq-qrename.t
288 test-mq-qrename.t
288 test-mq-qsave.t
289 test-mq-qsave.t
289 test-mq-safety.t
290 test-mq-safety.t
290 test-mq-subrepo.t
291 test-mq-subrepo.t
291 test-mq-symlinks.t
292 test-mq-symlinks.t
292 test-mv-cp-st-diff.t
293 test-mv-cp-st-diff.t
293 test-narrow-archive.t
294 test-narrow-archive.t
294 test-narrow-clone-no-ellipsis.t
295 test-narrow-clone-no-ellipsis.t
295 test-narrow-clone-non-narrow-server.t
296 test-narrow-clone-non-narrow-server.t
296 test-narrow-clone-nonlinear.t
297 test-narrow-clone-nonlinear.t
297 test-narrow-clone.t
298 test-narrow-clone.t
298 test-narrow-commit.t
299 test-narrow-commit.t
299 test-narrow-copies.t
300 test-narrow-copies.t
300 test-narrow-debugcommands.t
301 test-narrow-debugcommands.t
301 test-narrow-debugrebuilddirstate.t
302 test-narrow-debugrebuilddirstate.t
302 test-narrow-exchange-merges.t
303 test-narrow-exchange-merges.t
303 test-narrow-exchange.t
304 test-narrow-exchange.t
304 test-narrow-expanddirstate.t
305 test-narrow-expanddirstate.t
305 test-narrow-merge.t
306 test-narrow-merge.t
306 test-narrow-patch.t
307 test-narrow-patch.t
307 test-narrow-patterns.t
308 test-narrow-patterns.t
308 test-narrow-pull.t
309 test-narrow-pull.t
309 test-narrow-rebase.t
310 test-narrow-rebase.t
310 test-narrow-shallow-merges.t
311 test-narrow-shallow-merges.t
311 test-narrow-shallow.t
312 test-narrow-shallow.t
312 test-narrow-strip.t
313 test-narrow-strip.t
313 test-narrow-update.t
314 test-narrow-update.t
314 test-nested-repo.t
315 test-nested-repo.t
315 test-newbranch.t
316 test-newbranch.t
316 test-obshistory.t
317 test-obshistory.t
317 test-obsmarker-template.t
318 test-obsmarker-template.t
318 test-obsmarkers-effectflag.t
319 test-obsmarkers-effectflag.t
319 test-obsolete-bundle-strip.t
320 test-obsolete-bundle-strip.t
320 test-obsolete-changeset-exchange.t
321 test-obsolete-changeset-exchange.t
321 test-obsolete-checkheads.t
322 test-obsolete-checkheads.t
322 test-obsolete-distributed.t
323 test-obsolete-distributed.t
323 test-obsolete-tag-cache.t
324 test-obsolete-tag-cache.t
324 test-parents.t
325 test-parents.t
325 test-parseindex2.py
326 test-parseindex2.py
326 test-pathconflicts-merge.t
327 test-pathconflicts-merge.t
327 test-pathconflicts-update.t
328 test-pathconflicts-update.t
328 test-pathencode.py
329 test-pathencode.py
329 test-pending.t
330 test-pending.t
330 test-permissions.t
331 test-permissions.t
331 test-phases.t
332 test-phases.t
332 test-pull-branch.t
333 test-pull-branch.t
333 test-pull-http.t
334 test-pull-http.t
334 test-pull-permission.t
335 test-pull-permission.t
335 test-pull-pull-corruption.t
336 test-pull-pull-corruption.t
336 test-pull-r.t
337 test-pull-r.t
337 test-pull-update.t
338 test-pull-update.t
338 test-purge.t
339 test-purge.t
339 test-push-checkheads-partial-C1.t
340 test-push-checkheads-partial-C1.t
340 test-push-checkheads-partial-C2.t
341 test-push-checkheads-partial-C2.t
341 test-push-checkheads-partial-C3.t
342 test-push-checkheads-partial-C3.t
342 test-push-checkheads-partial-C4.t
343 test-push-checkheads-partial-C4.t
343 test-push-checkheads-pruned-B1.t
344 test-push-checkheads-pruned-B1.t
344 test-push-checkheads-pruned-B2.t
345 test-push-checkheads-pruned-B2.t
345 test-push-checkheads-pruned-B3.t
346 test-push-checkheads-pruned-B3.t
346 test-push-checkheads-pruned-B4.t
347 test-push-checkheads-pruned-B4.t
347 test-push-checkheads-pruned-B5.t
348 test-push-checkheads-pruned-B5.t
348 test-push-checkheads-pruned-B6.t
349 test-push-checkheads-pruned-B6.t
349 test-push-checkheads-pruned-B7.t
350 test-push-checkheads-pruned-B7.t
350 test-push-checkheads-pruned-B8.t
351 test-push-checkheads-pruned-B8.t
351 test-push-checkheads-superceed-A1.t
352 test-push-checkheads-superceed-A1.t
352 test-push-checkheads-superceed-A2.t
353 test-push-checkheads-superceed-A2.t
353 test-push-checkheads-superceed-A3.t
354 test-push-checkheads-superceed-A3.t
354 test-push-checkheads-superceed-A4.t
355 test-push-checkheads-superceed-A4.t
355 test-push-checkheads-superceed-A5.t
356 test-push-checkheads-superceed-A5.t
356 test-push-checkheads-superceed-A6.t
357 test-push-checkheads-superceed-A6.t
357 test-push-checkheads-superceed-A7.t
358 test-push-checkheads-superceed-A7.t
358 test-push-checkheads-superceed-A8.t
359 test-push-checkheads-superceed-A8.t
359 test-push-checkheads-unpushed-D1.t
360 test-push-checkheads-unpushed-D1.t
360 test-push-checkheads-unpushed-D2.t
361 test-push-checkheads-unpushed-D2.t
361 test-push-checkheads-unpushed-D3.t
362 test-push-checkheads-unpushed-D3.t
362 test-push-checkheads-unpushed-D4.t
363 test-push-checkheads-unpushed-D4.t
363 test-push-checkheads-unpushed-D5.t
364 test-push-checkheads-unpushed-D5.t
364 test-push-checkheads-unpushed-D6.t
365 test-push-checkheads-unpushed-D6.t
365 test-push-checkheads-unpushed-D7.t
366 test-push-checkheads-unpushed-D7.t
366 test-push-http.t
367 test-push-http.t
367 test-push-warn.t
368 test-push-warn.t
368 test-pushvars.t
369 test-pushvars.t
369 test-rebase-abort.t
370 test-rebase-abort.t
370 test-rebase-base-flag.t
371 test-rebase-base-flag.t
371 test-rebase-bookmarks.t
372 test-rebase-bookmarks.t
372 test-rebase-brute-force.t
373 test-rebase-brute-force.t
373 test-rebase-cache.t
374 test-rebase-cache.t
374 test-rebase-check-restore.t
375 test-rebase-check-restore.t
375 test-rebase-collapse.t
376 test-rebase-collapse.t
376 test-rebase-conflicts.t
377 test-rebase-conflicts.t
377 test-rebase-dest.t
378 test-rebase-dest.t
378 test-rebase-detach.t
379 test-rebase-detach.t
379 test-rebase-emptycommit.t
380 test-rebase-emptycommit.t
380 test-rebase-inmemory.t
381 test-rebase-inmemory.t
381 test-rebase-interruptions.t
382 test-rebase-interruptions.t
382 test-rebase-issue-noparam-single-rev.t
383 test-rebase-issue-noparam-single-rev.t
383 test-rebase-legacy.t
384 test-rebase-legacy.t
384 test-rebase-mq-skip.t
385 test-rebase-mq-skip.t
385 test-rebase-mq.t
386 test-rebase-mq.t
386 test-rebase-named-branches.t
387 test-rebase-named-branches.t
387 test-rebase-newancestor.t
388 test-rebase-newancestor.t
388 test-rebase-obsolete.t
389 test-rebase-obsolete.t
389 test-rebase-parameters.t
390 test-rebase-parameters.t
390 test-rebase-partial.t
391 test-rebase-partial.t
391 test-rebase-pull.t
392 test-rebase-pull.t
392 test-rebase-rename.t
393 test-rebase-rename.t
393 test-rebase-scenario-global.t
394 test-rebase-scenario-global.t
394 test-rebase-templates.t
395 test-rebase-templates.t
395 test-rebase-transaction.t
396 test-rebase-transaction.t
396 test-record.t
397 test-record.t
397 test-relink.t
398 test-relink.t
398 test-remove.t
399 test-remove.t
399 test-rename-after-merge.t
400 test-rename-after-merge.t
400 test-rename-dir-merge.t
401 test-rename-dir-merge.t
401 test-rename-merge1.t
402 test-rename-merge1.t
402 test-rename.t
403 test-rename.t
403 test-repair-strip.t
404 test-repair-strip.t
404 test-repo-compengines.t
405 test-repo-compengines.t
405 test-resolve.t
406 test-resolve.t
406 test-revert-flags.t
407 test-revert-flags.t
407 test-revert-unknown.t
408 test-revert-unknown.t
408 test-revlog-ancestry.py
409 test-revlog-ancestry.py
409 test-revlog-group-emptyiter.t
410 test-revlog-group-emptyiter.t
410 test-revlog-mmapindex.t
411 test-revlog-mmapindex.t
411 test-revlog-packentry.t
412 test-revlog-packentry.t
412 test-revset-dirstate-parents.t
413 test-revset-dirstate-parents.t
413 test-revset-legacy-lookup.t
414 test-revset-legacy-lookup.t
414 test-revset-outgoing.t
415 test-revset-outgoing.t
415 test-rollback.t
416 test-rollback.t
416 test-run-tests.py
417 test-run-tests.py
417 test-run-tests.t
418 test-run-tests.t
418 test-schemes.t
419 test-schemes.t
419 test-serve.t
420 test-serve.t
420 test-setdiscovery.t
421 test-setdiscovery.t
421 test-share.t
422 test-share.t
422 test-shelve.t
423 test-shelve.t
423 test-show-stack.t
424 test-show-stack.t
424 test-show-work.t
425 test-show-work.t
425 test-show.t
426 test-show.t
426 test-simple-update.t
427 test-simple-update.t
427 test-simplemerge.py
428 test-simplemerge.py
428 test-single-head.t
429 test-single-head.t
429 test-sparse-clear.t
430 test-sparse-clear.t
430 test-sparse-import.t
431 test-sparse-import.t
431 test-sparse-merges.t
432 test-sparse-merges.t
432 test-sparse-profiles.t
433 test-sparse-profiles.t
433 test-sparse-requirement.t
434 test-sparse-requirement.t
434 test-sparse-verbose-json.t
435 test-sparse-verbose-json.t
435 test-ssh-clone-r.t
436 test-ssh-clone-r.t
436 test-ssh-proto.t
437 test-ssh-proto.t
437 test-sshserver.py
438 test-sshserver.py
438 test-stack.t
439 test-stack.t
439 test-status-inprocess.py
440 test-status-inprocess.py
440 test-status-rev.t
441 test-status-rev.t
441 test-status-terse.t
442 test-status-terse.t
442 test-strip-cross.t
443 test-strip-cross.t
443 test-strip.t
444 test-strip.t
444 test-subrepo-deep-nested-change.t
445 test-subrepo-deep-nested-change.t
445 test-subrepo-missing.t
446 test-subrepo-missing.t
446 test-subrepo-recursion.t
447 test-subrepo-recursion.t
447 test-subrepo-relative-path.t
448 test-subrepo-relative-path.t
448 test-subrepo.t
449 test-subrepo.t
449 test-symlinks.t
450 test-symlinks.t
450 test-tag.t
451 test-tag.t
451 test-tags.t
452 test-tags.t
452 test-template-engine.t
453 test-template-engine.t
453 test-treemanifest.t
454 test-treemanifest.t
454 test-ui-color.py
455 test-ui-color.py
455 test-ui-verbosity.py
456 test-ui-verbosity.py
456 test-unamend.t
457 test-unamend.t
457 test-uncommit.t
458 test-uncommit.t
458 test-unified-test.t
459 test-unified-test.t
459 test-unrelated-pull.t
460 test-unrelated-pull.t
460 test-up-local-change.t
461 test-up-local-change.t
461 test-update-branches.t
462 test-update-branches.t
462 test-update-dest.t
463 test-update-dest.t
463 test-update-issue1456.t
464 test-update-issue1456.t
464 test-update-names.t
465 test-update-names.t
465 test-update-reverse.t
466 test-update-reverse.t
466 test-upgrade-repo.t
467 test-upgrade-repo.t
467 test-url-download.t
468 test-url-download.t
468 test-url-rev.t
469 test-url-rev.t
469 test-url.py
470 test-url.py
470 test-username-newline.t
471 test-username-newline.t
471 test-verify.t
472 test-verify.t
472 test-walkrepo.py
473 test-walkrepo.py
473 test-websub.t
474 test-websub.t
474 test-win32text.t
475 test-win32text.t
475 test-wireproto-clientreactor.py
476 test-wireproto-clientreactor.py
476 test-wireproto-framing.py
477 test-wireproto-framing.py
477 test-wireproto-serverreactor.py
478 test-wireproto-serverreactor.py
478 test-wireproto.py
479 test-wireproto.py
479 test-wsgirequest.py
480 test-wsgirequest.py
480 test-xdg.t
481 test-xdg.t
@@ -1,63 +1,63 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2 """
2 """
3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
3 Tests the behavior of filelog w.r.t. data starting with '\1\n'
4 """
4 """
5 from __future__ import absolute_import, print_function
5 from __future__ import absolute_import, print_function
6
6
7 from mercurial.node import (
7 from mercurial.node import (
8 hex,
8 hex,
9 nullid,
9 nullid,
10 )
10 )
11 from mercurial import (
11 from mercurial import (
12 hg,
12 hg,
13 ui as uimod,
13 ui as uimod,
14 )
14 )
15
15
16 myui = uimod.ui.load()
16 myui = uimod.ui.load()
17 repo = hg.repository(myui, path='.', create=True)
17 repo = hg.repository(myui, path=b'.', create=True)
18
18
19 fl = repo.file('foobar')
19 fl = repo.file(b'foobar')
20
20
21 def addrev(text, renamed=False):
21 def addrev(text, renamed=False):
22 if renamed:
22 if renamed:
23 # data doesn't matter. Just make sure filelog.renamed() returns True
23 # data doesn't matter. Just make sure filelog.renamed() returns True
24 meta = {'copyrev': hex(nullid), 'copy': 'bar'}
24 meta = {b'copyrev': hex(nullid), b'copy': b'bar'}
25 else:
25 else:
26 meta = {}
26 meta = {}
27
27
28 lock = t = None
28 lock = t = None
29 try:
29 try:
30 lock = repo.lock()
30 lock = repo.lock()
31 t = repo.transaction('commit')
31 t = repo.transaction(b'commit')
32 node = fl.add(text, meta, t, 0, nullid, nullid)
32 node = fl.add(text, meta, t, 0, nullid, nullid)
33 return node
33 return node
34 finally:
34 finally:
35 if t:
35 if t:
36 t.close()
36 t.close()
37 if lock:
37 if lock:
38 lock.release()
38 lock.release()
39
39
40 def error(text):
40 def error(text):
41 print('ERROR: ' + text)
41 print('ERROR: ' + text)
42
42
43 textwith = '\1\nfoo'
43 textwith = b'\1\nfoo'
44 without = 'foo'
44 without = b'foo'
45
45
46 node = addrev(textwith)
46 node = addrev(textwith)
47 if not textwith == fl.read(node):
47 if not textwith == fl.read(node):
48 error('filelog.read for data starting with \\1\\n')
48 error('filelog.read for data starting with \\1\\n')
49 if fl.cmp(node, textwith) or not fl.cmp(node, without):
49 if fl.cmp(node, textwith) or not fl.cmp(node, without):
50 error('filelog.cmp for data starting with \\1\\n')
50 error('filelog.cmp for data starting with \\1\\n')
51 if fl.size(0) != len(textwith):
51 if fl.size(0) != len(textwith):
52 error('FIXME: This is a known failure of filelog.size for data starting '
52 error('FIXME: This is a known failure of filelog.size for data starting '
53 'with \\1\\n')
53 'with \\1\\n')
54
54
55 node = addrev(textwith, renamed=True)
55 node = addrev(textwith, renamed=True)
56 if not textwith == fl.read(node):
56 if not textwith == fl.read(node):
57 error('filelog.read for a renaming + data starting with \\1\\n')
57 error('filelog.read for a renaming + data starting with \\1\\n')
58 if fl.cmp(node, textwith) or not fl.cmp(node, without):
58 if fl.cmp(node, textwith) or not fl.cmp(node, without):
59 error('filelog.cmp for a renaming + data starting with \\1\\n')
59 error('filelog.cmp for a renaming + data starting with \\1\\n')
60 if fl.size(1) != len(textwith):
60 if fl.size(1) != len(textwith):
61 error('filelog.size for a renaming + data starting with \\1\\n')
61 error('filelog.size for a renaming + data starting with \\1\\n')
62
62
63 print('OK.')
63 print('OK.')
General Comments 0
You need to be logged in to leave comments. Login now