##// END OF EJS Templates
py3: drop b'' from generate-working-copy-states.py output...
Yuya Nishihara -
r36804:ed46d484 default
parent child Browse files
Show More
@@ -1,396 +1,397
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-ancestor.py
6 test-ancestor.py
7 test-annotate.py
7 test-annotate.py
8 test-annotate.t
8 test-annotate.t
9 test-archive-symlinks.t
9 test-archive-symlinks.t
10 test-atomictempfile.py
10 test-atomictempfile.py
11 test-audit-path.t
11 test-audit-path.t
12 test-audit-subrepo.t
12 test-audit-subrepo.t
13 test-automv.t
13 test-automv.t
14 test-backout.t
14 test-backout.t
15 test-backwards-remove.t
15 test-backwards-remove.t
16 test-basic.t
16 test-basic.t
17 test-bheads.t
17 test-bheads.t
18 test-bisect2.t
18 test-bisect2.t
19 test-blackbox.t
19 test-blackbox.t
20 test-bookmarks-current.t
20 test-bookmarks-current.t
21 test-bookmarks-merge.t
21 test-bookmarks-merge.t
22 test-bookmarks-rebase.t
22 test-bookmarks-rebase.t
23 test-bookmarks-strip.t
23 test-bookmarks-strip.t
24 test-bookmarks.t
24 test-bookmarks.t
25 test-branch-option.t
25 test-branch-option.t
26 test-branch-tag-confict.t
26 test-branch-tag-confict.t
27 test-branches.t
27 test-branches.t
28 test-bundle-phases.t
28 test-bundle-phases.t
29 test-bundle-type.t
29 test-bundle-type.t
30 test-bundle-vs-outgoing.t
30 test-bundle-vs-outgoing.t
31 test-bundle2-multiple-changegroups.t
31 test-bundle2-multiple-changegroups.t
32 test-cappedreader.py
32 test-cappedreader.py
33 test-casecollision.t
33 test-casecollision.t
34 test-cat.t
34 test-cat.t
35 test-censor.t
35 test-censor.t
36 test-changelog-exec.t
36 test-changelog-exec.t
37 test-check-commit.t
37 test-check-commit.t
38 test-check-execute.t
38 test-check-execute.t
39 test-check-module-imports.t
39 test-check-module-imports.t
40 test-check-pyflakes.t
40 test-check-pyflakes.t
41 test-check-pylint.t
41 test-check-pylint.t
42 test-check-shbang.t
42 test-check-shbang.t
43 test-children.t
43 test-children.t
44 test-clone-pull-corruption.t
44 test-clone-pull-corruption.t
45 test-clone-r.t
45 test-clone-r.t
46 test-clone-update-order.t
46 test-clone-update-order.t
47 test-command-template.t
47 test-command-template.t
48 test-commit-amend.t
48 test-commit-amend.t
49 test-commit-multiple.t
49 test-commit-multiple.t
50 test-commit-unresolved.t
50 test-commit-unresolved.t
51 test-commit.t
51 test-commit.t
52 test-committer.t
52 test-committer.t
53 test-completion.t
53 test-completion.t
54 test-config-env.py
54 test-config-env.py
55 test-config.t
55 test-config.t
56 test-conflict.t
56 test-conflict.t
57 test-confused-revert.t
57 test-confused-revert.t
58 test-contrib-check-code.t
58 test-contrib-check-code.t
59 test-contrib-check-commit.t
59 test-contrib-check-commit.t
60 test-convert-authormap.t
60 test-convert-authormap.t
61 test-convert-clonebranches.t
61 test-convert-clonebranches.t
62 test-convert-datesort.t
62 test-convert-datesort.t
63 test-convert-filemap.t
63 test-convert-filemap.t
64 test-convert-hg-sink.t
64 test-convert-hg-sink.t
65 test-convert-hg-source.t
65 test-convert-hg-source.t
66 test-convert-hg-startrev.t
66 test-convert-hg-startrev.t
67 test-copy-move-merge.t
67 test-copy-move-merge.t
68 test-copy.t
68 test-copy.t
69 test-copytrace-heuristics.t
69 test-copytrace-heuristics.t
70 test-debugbuilddag.t
70 test-debugbuilddag.t
71 test-debugbundle.t
71 test-debugbundle.t
72 test-debugextensions.t
72 test-debugextensions.t
73 test-debugindexdot.t
73 test-debugindexdot.t
74 test-debugrename.t
74 test-debugrename.t
75 test-default-push.t
75 test-default-push.t
76 test-diff-binary-file.t
76 test-diff-binary-file.t
77 test-diff-change.t
77 test-diff-change.t
78 test-diff-copy-depth.t
78 test-diff-copy-depth.t
79 test-diff-hashes.t
79 test-diff-hashes.t
80 test-diff-issue2761.t
80 test-diff-issue2761.t
81 test-diff-newlines.t
81 test-diff-newlines.t
82 test-diff-reverse.t
82 test-diff-reverse.t
83 test-diff-subdir.t
83 test-diff-subdir.t
84 test-diffdir.t
84 test-diffdir.t
85 test-directaccess.t
85 test-directaccess.t
86 test-dirstate-backup.t
86 test-dirstate-backup.t
87 test-dirstate-nonnormalset.t
87 test-dirstate-nonnormalset.t
88 test-doctest.py
88 test-doctest.py
89 test-double-merge.t
89 test-double-merge.t
90 test-drawdag.t
90 test-drawdag.t
91 test-duplicateoptions.py
91 test-duplicateoptions.py
92 test-empty-dir.t
92 test-empty-dir.t
93 test-empty-file.t
93 test-empty-file.t
94 test-empty-group.t
94 test-empty-group.t
95 test-empty.t
95 test-empty.t
96 test-encode.t
96 test-encode.t
97 test-encoding-func.py
97 test-encoding-func.py
98 test-encoding.t
98 test-encoding.t
99 test-eol-add.t
99 test-eol-add.t
100 test-eol-clone.t
100 test-eol-clone.t
101 test-eol-hook.t
101 test-eol-hook.t
102 test-eol-tag.t
102 test-eol-tag.t
103 test-eol-update.t
103 test-eol-update.t
104 test-excessive-merge.t
104 test-excessive-merge.t
105 test-exchange-obsmarkers-case-A1.t
105 test-exchange-obsmarkers-case-A1.t
106 test-exchange-obsmarkers-case-A2.t
106 test-exchange-obsmarkers-case-A2.t
107 test-exchange-obsmarkers-case-A3.t
107 test-exchange-obsmarkers-case-A3.t
108 test-exchange-obsmarkers-case-A4.t
108 test-exchange-obsmarkers-case-A4.t
109 test-exchange-obsmarkers-case-A5.t
109 test-exchange-obsmarkers-case-A5.t
110 test-exchange-obsmarkers-case-A6.t
110 test-exchange-obsmarkers-case-A6.t
111 test-exchange-obsmarkers-case-A7.t
111 test-exchange-obsmarkers-case-A7.t
112 test-exchange-obsmarkers-case-B1.t
112 test-exchange-obsmarkers-case-B1.t
113 test-exchange-obsmarkers-case-B2.t
113 test-exchange-obsmarkers-case-B2.t
114 test-exchange-obsmarkers-case-B3.t
114 test-exchange-obsmarkers-case-B3.t
115 test-exchange-obsmarkers-case-B4.t
115 test-exchange-obsmarkers-case-B4.t
116 test-exchange-obsmarkers-case-B5.t
116 test-exchange-obsmarkers-case-B5.t
117 test-exchange-obsmarkers-case-B6.t
117 test-exchange-obsmarkers-case-B6.t
118 test-exchange-obsmarkers-case-B7.t
118 test-exchange-obsmarkers-case-B7.t
119 test-exchange-obsmarkers-case-C1.t
119 test-exchange-obsmarkers-case-C1.t
120 test-exchange-obsmarkers-case-C2.t
120 test-exchange-obsmarkers-case-C2.t
121 test-exchange-obsmarkers-case-C3.t
121 test-exchange-obsmarkers-case-C3.t
122 test-exchange-obsmarkers-case-C4.t
122 test-exchange-obsmarkers-case-C4.t
123 test-exchange-obsmarkers-case-D1.t
123 test-exchange-obsmarkers-case-D1.t
124 test-exchange-obsmarkers-case-D2.t
124 test-exchange-obsmarkers-case-D2.t
125 test-exchange-obsmarkers-case-D3.t
125 test-exchange-obsmarkers-case-D3.t
126 test-exchange-obsmarkers-case-D4.t
126 test-exchange-obsmarkers-case-D4.t
127 test-execute-bit.t
127 test-execute-bit.t
128 test-extdiff.t
128 test-extdiff.t
129 test-extra-filelog-entry.t
129 test-extra-filelog-entry.t
130 test-filebranch.t
130 test-filebranch.t
131 test-fileset-generated.t
131 test-fileset-generated.t
132 test-flags.t
132 test-flags.t
133 test-generaldelta.t
133 test-generaldelta.t
134 test-getbundle.t
134 test-getbundle.t
135 test-git-export.t
135 test-git-export.t
136 test-glog-topological.t
136 test-glog-topological.t
137 test-gpg.t
137 test-gpg.t
138 test-graft.t
138 test-graft.t
139 test-hghave.t
139 test-hghave.t
140 test-hgignore.t
140 test-hgignore.t
141 test-hgk.t
141 test-hgk.t
142 test-hgweb-bundle.t
142 test-hgweb-bundle.t
143 test-hgweb-descend-empties.t
143 test-hgweb-descend-empties.t
144 test-hgweb-removed.t
144 test-hgweb-removed.t
145 test-histedit-arguments.t
145 test-histedit-arguments.t
146 test-histedit-base.t
146 test-histedit-base.t
147 test-histedit-bookmark-motion.t
147 test-histedit-bookmark-motion.t
148 test-histedit-commute.t
148 test-histedit-commute.t
149 test-histedit-drop.t
149 test-histedit-drop.t
150 test-histedit-edit.t
150 test-histedit-edit.t
151 test-histedit-fold-non-commute.t
151 test-histedit-fold-non-commute.t
152 test-histedit-fold.t
152 test-histedit-fold.t
153 test-histedit-no-change.t
153 test-histedit-no-change.t
154 test-histedit-non-commute-abort.t
154 test-histedit-non-commute-abort.t
155 test-histedit-non-commute.t
155 test-histedit-non-commute.t
156 test-histedit-obsolete.t
156 test-histedit-obsolete.t
157 test-histedit-outgoing.t
157 test-histedit-outgoing.t
158 test-histedit-templates.t
158 test-histedit-templates.t
159 test-http-branchmap.t
159 test-http-branchmap.t
160 test-http-bundle1.t
160 test-http-bundle1.t
161 test-http-clone-r.t
161 test-http-clone-r.t
162 test-identify.t
162 test-identify.t
163 test-import-unknown.t
163 test-import-unknown.t
164 test-imports-checker.t
164 test-imports-checker.t
165 test-inherit-mode.t
165 test-inherit-mode.t
166 test-issue1089.t
166 test-issue1089.t
167 test-issue1102.t
167 test-issue1102.t
168 test-issue1175.t
168 test-issue1175.t
169 test-issue1306.t
169 test-issue1306.t
170 test-issue1438.t
170 test-issue1438.t
171 test-issue1502.t
171 test-issue1502.t
172 test-issue1802.t
172 test-issue1802.t
173 test-issue1877.t
173 test-issue1877.t
174 test-issue1993.t
174 test-issue1993.t
175 test-issue2137.t
175 test-issue2137.t
176 test-issue3084.t
176 test-issue3084.t
177 test-issue4074.t
177 test-issue4074.t
178 test-issue522.t
178 test-issue522.t
179 test-issue586.t
179 test-issue586.t
180 test-issue612.t
180 test-issue612.t
181 test-issue619.t
181 test-issue619.t
182 test-issue672.t
182 test-issue672.t
183 test-issue842.t
183 test-issue842.t
184 test-journal-exists.t
184 test-journal-exists.t
185 test-largefiles-cache.t
185 test-largefiles-cache.t
186 test-largefiles-misc.t
186 test-largefiles-misc.t
187 test-largefiles-small-disk.t
187 test-largefiles-small-disk.t
188 test-locate.t
188 test-locate.t
189 test-lock-badness.t
189 test-lock-badness.t
190 test-log.t
190 test-log.t
191 test-logexchange.t
191 test-logexchange.t
192 test-lrucachedict.py
192 test-lrucachedict.py
193 test-mactext.t
193 test-mactext.t
194 test-manifest-merging.t
194 test-manifest-merging.t
195 test-manifest.py
195 test-manifest.py
196 test-manifest.t
196 test-manifest.t
197 test-match.py
197 test-match.py
198 test-mdiff.py
198 test-mdiff.py
199 test-merge-closedheads.t
199 test-merge-closedheads.t
200 test-merge-commit.t
200 test-merge-commit.t
201 test-merge-criss-cross.t
201 test-merge-criss-cross.t
202 test-merge-default.t
202 test-merge-default.t
203 test-merge-force.t
203 test-merge-internal-tools-pattern.t
204 test-merge-internal-tools-pattern.t
204 test-merge-local.t
205 test-merge-local.t
205 test-merge-remove.t
206 test-merge-remove.t
206 test-merge-revert.t
207 test-merge-revert.t
207 test-merge-revert2.t
208 test-merge-revert2.t
208 test-merge-subrepos.t
209 test-merge-subrepos.t
209 test-merge-symlinks.t
210 test-merge-symlinks.t
210 test-merge-types.t
211 test-merge-types.t
211 test-merge1.t
212 test-merge1.t
212 test-merge10.t
213 test-merge10.t
213 test-merge2.t
214 test-merge2.t
214 test-merge4.t
215 test-merge4.t
215 test-merge5.t
216 test-merge5.t
216 test-merge6.t
217 test-merge6.t
217 test-merge7.t
218 test-merge7.t
218 test-merge8.t
219 test-merge8.t
219 test-merge9.t
220 test-merge9.t
220 test-mq-git.t
221 test-mq-git.t
221 test-mq-header-date.t
222 test-mq-header-date.t
222 test-mq-header-from.t
223 test-mq-header-from.t
223 test-mq-pull-from-bundle.t
224 test-mq-pull-from-bundle.t
224 test-mq-qdiff.t
225 test-mq-qdiff.t
225 test-mq-qfold.t
226 test-mq-qfold.t
226 test-mq-qgoto.t
227 test-mq-qgoto.t
227 test-mq-qimport-fail-cleanup.t
228 test-mq-qimport-fail-cleanup.t
228 test-mq-qpush-exact.t
229 test-mq-qpush-exact.t
229 test-mq-qqueue.t
230 test-mq-qqueue.t
230 test-mq-qrefresh-replace-log-message.t
231 test-mq-qrefresh-replace-log-message.t
231 test-mq-qrefresh.t
232 test-mq-qrefresh.t
232 test-mq-qrename.t
233 test-mq-qrename.t
233 test-mq-qsave.t
234 test-mq-qsave.t
234 test-mq-safety.t
235 test-mq-safety.t
235 test-mq-symlinks.t
236 test-mq-symlinks.t
236 test-mv-cp-st-diff.t
237 test-mv-cp-st-diff.t
237 test-narrow-archive.t
238 test-narrow-archive.t
238 test-narrow-clone-no-ellipsis.t
239 test-narrow-clone-no-ellipsis.t
239 test-narrow-clone-nonlinear.t
240 test-narrow-clone-nonlinear.t
240 test-narrow-clone.t
241 test-narrow-clone.t
241 test-narrow-commit.t
242 test-narrow-commit.t
242 test-narrow-copies.t
243 test-narrow-copies.t
243 test-narrow-debugcommands.t
244 test-narrow-debugcommands.t
244 test-narrow-debugrebuilddirstate.t
245 test-narrow-debugrebuilddirstate.t
245 test-narrow-exchange-merges.t
246 test-narrow-exchange-merges.t
246 test-narrow-exchange.t
247 test-narrow-exchange.t
247 test-narrow-expanddirstate.t
248 test-narrow-expanddirstate.t
248 test-narrow-merge.t
249 test-narrow-merge.t
249 test-narrow-patch.t
250 test-narrow-patch.t
250 test-narrow-patterns.t
251 test-narrow-patterns.t
251 test-narrow-pull.t
252 test-narrow-pull.t
252 test-narrow-rebase.t
253 test-narrow-rebase.t
253 test-narrow-shallow-merges.t
254 test-narrow-shallow-merges.t
254 test-narrow-shallow.t
255 test-narrow-shallow.t
255 test-narrow-strip.t
256 test-narrow-strip.t
256 test-narrow-update.t
257 test-narrow-update.t
257 test-nested-repo.t
258 test-nested-repo.t
258 test-newbranch.t
259 test-newbranch.t
259 test-obshistory.t
260 test-obshistory.t
260 test-obsmarker-template.t
261 test-obsmarker-template.t
261 test-obsmarkers-effectflag.t
262 test-obsmarkers-effectflag.t
262 test-obsolete-bundle-strip.t
263 test-obsolete-bundle-strip.t
263 test-obsolete-changeset-exchange.t
264 test-obsolete-changeset-exchange.t
264 test-obsolete-checkheads.t
265 test-obsolete-checkheads.t
265 test-obsolete-distributed.t
266 test-obsolete-distributed.t
266 test-obsolete-tag-cache.t
267 test-obsolete-tag-cache.t
267 test-parents.t
268 test-parents.t
268 test-pathconflicts-merge.t
269 test-pathconflicts-merge.t
269 test-pathconflicts-update.t
270 test-pathconflicts-update.t
270 test-pending.t
271 test-pending.t
271 test-permissions.t
272 test-permissions.t
272 test-phases.t
273 test-phases.t
273 test-pull-branch.t
274 test-pull-branch.t
274 test-pull-http.t
275 test-pull-http.t
275 test-pull-permission.t
276 test-pull-permission.t
276 test-pull-pull-corruption.t
277 test-pull-pull-corruption.t
277 test-pull-r.t
278 test-pull-r.t
278 test-pull-update.t
279 test-pull-update.t
279 test-purge.t
280 test-purge.t
280 test-push-checkheads-partial-C1.t
281 test-push-checkheads-partial-C1.t
281 test-push-checkheads-partial-C2.t
282 test-push-checkheads-partial-C2.t
282 test-push-checkheads-partial-C3.t
283 test-push-checkheads-partial-C3.t
283 test-push-checkheads-partial-C4.t
284 test-push-checkheads-partial-C4.t
284 test-push-checkheads-pruned-B1.t
285 test-push-checkheads-pruned-B1.t
285 test-push-checkheads-pruned-B2.t
286 test-push-checkheads-pruned-B2.t
286 test-push-checkheads-pruned-B3.t
287 test-push-checkheads-pruned-B3.t
287 test-push-checkheads-pruned-B4.t
288 test-push-checkheads-pruned-B4.t
288 test-push-checkheads-pruned-B5.t
289 test-push-checkheads-pruned-B5.t
289 test-push-checkheads-pruned-B6.t
290 test-push-checkheads-pruned-B6.t
290 test-push-checkheads-pruned-B7.t
291 test-push-checkheads-pruned-B7.t
291 test-push-checkheads-pruned-B8.t
292 test-push-checkheads-pruned-B8.t
292 test-push-checkheads-superceed-A1.t
293 test-push-checkheads-superceed-A1.t
293 test-push-checkheads-superceed-A2.t
294 test-push-checkheads-superceed-A2.t
294 test-push-checkheads-superceed-A3.t
295 test-push-checkheads-superceed-A3.t
295 test-push-checkheads-superceed-A4.t
296 test-push-checkheads-superceed-A4.t
296 test-push-checkheads-superceed-A5.t
297 test-push-checkheads-superceed-A5.t
297 test-push-checkheads-superceed-A6.t
298 test-push-checkheads-superceed-A6.t
298 test-push-checkheads-superceed-A7.t
299 test-push-checkheads-superceed-A7.t
299 test-push-checkheads-superceed-A8.t
300 test-push-checkheads-superceed-A8.t
300 test-push-checkheads-unpushed-D1.t
301 test-push-checkheads-unpushed-D1.t
301 test-push-checkheads-unpushed-D2.t
302 test-push-checkheads-unpushed-D2.t
302 test-push-checkheads-unpushed-D3.t
303 test-push-checkheads-unpushed-D3.t
303 test-push-checkheads-unpushed-D4.t
304 test-push-checkheads-unpushed-D4.t
304 test-push-checkheads-unpushed-D5.t
305 test-push-checkheads-unpushed-D5.t
305 test-push-checkheads-unpushed-D6.t
306 test-push-checkheads-unpushed-D6.t
306 test-push-checkheads-unpushed-D7.t
307 test-push-checkheads-unpushed-D7.t
307 test-push-http.t
308 test-push-http.t
308 test-push-warn.t
309 test-push-warn.t
309 test-pushvars.t
310 test-pushvars.t
310 test-rebase-abort.t
311 test-rebase-abort.t
311 test-rebase-base-flag.t
312 test-rebase-base-flag.t
312 test-rebase-bookmarks.t
313 test-rebase-bookmarks.t
313 test-rebase-brute-force.t
314 test-rebase-brute-force.t
314 test-rebase-cache.t
315 test-rebase-cache.t
315 test-rebase-check-restore.t
316 test-rebase-check-restore.t
316 test-rebase-collapse.t
317 test-rebase-collapse.t
317 test-rebase-dest.t
318 test-rebase-dest.t
318 test-rebase-detach.t
319 test-rebase-detach.t
319 test-rebase-emptycommit.t
320 test-rebase-emptycommit.t
320 test-rebase-inmemory.t
321 test-rebase-inmemory.t
321 test-rebase-interruptions.t
322 test-rebase-interruptions.t
322 test-rebase-issue-noparam-single-rev.t
323 test-rebase-issue-noparam-single-rev.t
323 test-rebase-legacy.t
324 test-rebase-legacy.t
324 test-rebase-mq-skip.t
325 test-rebase-mq-skip.t
325 test-rebase-named-branches.t
326 test-rebase-named-branches.t
326 test-rebase-newancestor.t
327 test-rebase-newancestor.t
327 test-rebase-obsolete.t
328 test-rebase-obsolete.t
328 test-rebase-parameters.t
329 test-rebase-parameters.t
329 test-rebase-partial.t
330 test-rebase-partial.t
330 test-rebase-pull.t
331 test-rebase-pull.t
331 test-rebase-rename.t
332 test-rebase-rename.t
332 test-rebase-scenario-global.t
333 test-rebase-scenario-global.t
333 test-rebase-templates.t
334 test-rebase-templates.t
334 test-rebase-transaction.t
335 test-rebase-transaction.t
335 test-record.t
336 test-record.t
336 test-relink.t
337 test-relink.t
337 test-remove.t
338 test-remove.t
338 test-rename-after-merge.t
339 test-rename-after-merge.t
339 test-rename-dir-merge.t
340 test-rename-dir-merge.t
340 test-rename-merge1.t
341 test-rename-merge1.t
341 test-rename.t
342 test-rename.t
342 test-repair-strip.t
343 test-repair-strip.t
343 test-repo-compengines.t
344 test-repo-compengines.t
344 test-resolve.t
345 test-resolve.t
345 test-revert-flags.t
346 test-revert-flags.t
346 test-revert-unknown.t
347 test-revert-unknown.t
347 test-revlog-ancestry.py
348 test-revlog-ancestry.py
348 test-revlog-group-emptyiter.t
349 test-revlog-group-emptyiter.t
349 test-revlog-mmapindex.t
350 test-revlog-mmapindex.t
350 test-revlog-packentry.t
351 test-revlog-packentry.t
351 test-revset-dirstate-parents.t
352 test-revset-dirstate-parents.t
352 test-revset-outgoing.t
353 test-revset-outgoing.t
353 test-rollback.t
354 test-rollback.t
354 test-run-tests.py
355 test-run-tests.py
355 test-schemes.t
356 test-schemes.t
356 test-serve.t
357 test-serve.t
357 test-share.t
358 test-share.t
358 test-show-stack.t
359 test-show-stack.t
359 test-show-work.t
360 test-show-work.t
360 test-show.t
361 test-show.t
361 test-simple-update.t
362 test-simple-update.t
362 test-single-head.t
363 test-single-head.t
363 test-sparse-clear.t
364 test-sparse-clear.t
364 test-sparse-merges.t
365 test-sparse-merges.t
365 test-sparse-requirement.t
366 test-sparse-requirement.t
366 test-sparse-verbose-json.t
367 test-sparse-verbose-json.t
367 test-ssh-clone-r.t
368 test-ssh-clone-r.t
368 test-ssh-proto.t
369 test-ssh-proto.t
369 test-sshserver.py
370 test-sshserver.py
370 test-status-rev.t
371 test-status-rev.t
371 test-status-terse.t
372 test-status-terse.t
372 test-strip-cross.t
373 test-strip-cross.t
373 test-strip.t
374 test-strip.t
374 test-subrepo-deep-nested-change.t
375 test-subrepo-deep-nested-change.t
375 test-subrepo.t
376 test-subrepo.t
376 test-symlinks.t
377 test-symlinks.t
377 test-tag.t
378 test-tag.t
378 test-tags.t
379 test-tags.t
379 test-treemanifest.t
380 test-treemanifest.t
380 test-unamend.t
381 test-unamend.t
381 test-uncommit.t
382 test-uncommit.t
382 test-unified-test.t
383 test-unified-test.t
383 test-unrelated-pull.t
384 test-unrelated-pull.t
384 test-up-local-change.t
385 test-up-local-change.t
385 test-update-branches.t
386 test-update-branches.t
386 test-update-dest.t
387 test-update-dest.t
387 test-update-issue1456.t
388 test-update-issue1456.t
388 test-update-names.t
389 test-update-names.t
389 test-update-reverse.t
390 test-update-reverse.t
390 test-upgrade-repo.t
391 test-upgrade-repo.t
391 test-url-rev.t
392 test-url-rev.t
392 test-username-newline.t
393 test-username-newline.t
393 test-verify.t
394 test-verify.t
394 test-websub.t
395 test-websub.t
395 test-win32text.t
396 test-win32text.t
396 test-xdg.t
397 test-xdg.t
@@ -1,88 +1,88
1 # Helper script used for generating history and working copy files and content.
1 # Helper script used for generating history and working copy files and content.
2 # The file's name corresponds to its history. The number of changesets can
2 # The file's name corresponds to its history. The number of changesets can
3 # be specified on the command line. With 2 changesets, files with names like
3 # be specified on the command line. With 2 changesets, files with names like
4 # content1_content2_content1-untracked are generated. The first two filename
4 # content1_content2_content1-untracked are generated. The first two filename
5 # segments describe the contents in the two changesets. The third segment
5 # segments describe the contents in the two changesets. The third segment
6 # ("content1-untracked") describes the state in the working copy, i.e.
6 # ("content1-untracked") describes the state in the working copy, i.e.
7 # the file has content "content1" and is untracked (since it was previously
7 # the file has content "content1" and is untracked (since it was previously
8 # tracked, it has been forgotten).
8 # tracked, it has been forgotten).
9 #
9 #
10 # This script generates the filenames and their content, but it's up to the
10 # This script generates the filenames and their content, but it's up to the
11 # caller to tell hg about the state.
11 # caller to tell hg about the state.
12 #
12 #
13 # There are two subcommands:
13 # There are two subcommands:
14 # filelist <numchangesets>
14 # filelist <numchangesets>
15 # state <numchangesets> (<changeset>|wc)
15 # state <numchangesets> (<changeset>|wc)
16 #
16 #
17 # Typical usage:
17 # Typical usage:
18 #
18 #
19 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
19 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
20 # $ hg addremove --similarity 0
20 # $ hg addremove --similarity 0
21 # $ hg commit -m 'first'
21 # $ hg commit -m 'first'
22 #
22 #
23 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
23 # $ python $TESTDIR/generate-working-copy-states.py state 2 1
24 # $ hg addremove --similarity 0
24 # $ hg addremove --similarity 0
25 # $ hg commit -m 'second'
25 # $ hg commit -m 'second'
26 #
26 #
27 # $ python $TESTDIR/generate-working-copy-states.py state 2 wc
27 # $ python $TESTDIR/generate-working-copy-states.py state 2 wc
28 # $ hg addremove --similarity 0
28 # $ hg addremove --similarity 0
29 # $ hg forget *_*_*-untracked
29 # $ hg forget *_*_*-untracked
30 # $ rm *_*_missing-*
30 # $ rm *_*_missing-*
31
31
32 from __future__ import absolute_import, print_function
32 from __future__ import absolute_import, print_function
33
33
34 import os
34 import os
35 import sys
35 import sys
36
36
37 # Generates pairs of (filename, contents), where 'contents' is a list
37 # Generates pairs of (filename, contents), where 'contents' is a list
38 # describing the file's content at each revision (or in the working copy).
38 # describing the file's content at each revision (or in the working copy).
39 # At each revision, it is either None or the file's actual content. When not
39 # At each revision, it is either None or the file's actual content. When not
40 # None, it may be either new content or the same content as an earlier
40 # None, it may be either new content or the same content as an earlier
41 # revisions, so all of (modified,clean,added,removed) can be tested.
41 # revisions, so all of (modified,clean,added,removed) can be tested.
42 def generatestates(maxchangesets, parentcontents):
42 def generatestates(maxchangesets, parentcontents):
43 depth = len(parentcontents)
43 depth = len(parentcontents)
44 if depth == maxchangesets + 1:
44 if depth == maxchangesets + 1:
45 for tracked in (b'untracked', b'tracked'):
45 for tracked in (b'untracked', b'tracked'):
46 filename = b"_".join([(content is None and b'missing' or content)
46 filename = b"_".join([(content is None and b'missing' or content)
47 for content in parentcontents]) + b"-" + tracked
47 for content in parentcontents]) + b"-" + tracked
48 yield (filename, parentcontents)
48 yield (filename, parentcontents)
49 else:
49 else:
50 for content in ({None, b'content' + (b"%d" % (depth + 1))} |
50 for content in ({None, b'content' + (b"%d" % (depth + 1))} |
51 set(parentcontents)):
51 set(parentcontents)):
52 for combination in generatestates(maxchangesets,
52 for combination in generatestates(maxchangesets,
53 parentcontents + [content]):
53 parentcontents + [content]):
54 yield combination
54 yield combination
55
55
56 # retrieve the command line arguments
56 # retrieve the command line arguments
57 target = sys.argv[1]
57 target = sys.argv[1]
58 maxchangesets = int(sys.argv[2])
58 maxchangesets = int(sys.argv[2])
59 if target == 'state':
59 if target == 'state':
60 depth = sys.argv[3]
60 depth = sys.argv[3]
61
61
62 # sort to make sure we have stable output
62 # sort to make sure we have stable output
63 combinations = sorted(generatestates(maxchangesets, []))
63 combinations = sorted(generatestates(maxchangesets, []))
64
64
65 # compute file content
65 # compute file content
66 content = []
66 content = []
67 for filename, states in combinations:
67 for filename, states in combinations:
68 if target == 'filelist':
68 if target == 'filelist':
69 print(filename)
69 print(filename.decode('ascii'))
70 elif target == 'state':
70 elif target == 'state':
71 if depth == 'wc':
71 if depth == 'wc':
72 # Make sure there is content so the file gets written and can be
72 # Make sure there is content so the file gets written and can be
73 # tracked. It will be deleted outside of this script.
73 # tracked. It will be deleted outside of this script.
74 content.append((filename, states[maxchangesets] or b'TOBEDELETED'))
74 content.append((filename, states[maxchangesets] or b'TOBEDELETED'))
75 else:
75 else:
76 content.append((filename, states[int(depth) - 1]))
76 content.append((filename, states[int(depth) - 1]))
77 else:
77 else:
78 print("unknown target:", target, file=sys.stderr)
78 print("unknown target:", target, file=sys.stderr)
79 sys.exit(1)
79 sys.exit(1)
80
80
81 # write actual content
81 # write actual content
82 for filename, data in content:
82 for filename, data in content:
83 if data is not None:
83 if data is not None:
84 f = open(filename, 'wb')
84 f = open(filename, 'wb')
85 f.write(data + b'\n')
85 f.write(data + b'\n')
86 f.close()
86 f.close()
87 elif os.path.exists(filename):
87 elif os.path.exists(filename):
88 os.remove(filename)
88 os.remove(filename)
General Comments 0
You need to be logged in to leave comments. Login now