##// END OF EJS Templates
py3: make test-basic.t pass on Python 3
Yuya Nishihara -
r36656:159b04de default
parent child Browse files
Show More
@@ -1,347 +1,348 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-ancestor.py
6 test-ancestor.py
7 test-annotate.py
7 test-annotate.py
8 test-automv.t
8 test-automv.t
9 test-backout.t
9 test-backout.t
10 test-backwards-remove.t
10 test-backwards-remove.t
11 test-basic.t
11 test-bheads.t
12 test-bheads.t
12 test-bisect2.t
13 test-bisect2.t
13 test-bookmarks-current.t
14 test-bookmarks-current.t
14 test-bookmarks-merge.t
15 test-bookmarks-merge.t
15 test-bookmarks-rebase.t
16 test-bookmarks-rebase.t
16 test-bookmarks-strip.t
17 test-bookmarks-strip.t
17 test-bookmarks.t
18 test-bookmarks.t
18 test-branch-option.t
19 test-branch-option.t
19 test-branch-tag-confict.t
20 test-branch-tag-confict.t
20 test-branches.t
21 test-branches.t
21 test-bundle-phases.t
22 test-bundle-phases.t
22 test-bundle-vs-outgoing.t
23 test-bundle-vs-outgoing.t
23 test-bundle2-multiple-changegroups.t
24 test-bundle2-multiple-changegroups.t
24 test-cappedreader.py
25 test-cappedreader.py
25 test-casecollision.t
26 test-casecollision.t
26 test-cat.t
27 test-cat.t
27 test-censor.t
28 test-censor.t
28 test-changelog-exec.t
29 test-changelog-exec.t
29 test-check-commit.t
30 test-check-commit.t
30 test-check-execute.t
31 test-check-execute.t
31 test-check-module-imports.t
32 test-check-module-imports.t
32 test-check-pyflakes.t
33 test-check-pyflakes.t
33 test-check-pylint.t
34 test-check-pylint.t
34 test-check-shbang.t
35 test-check-shbang.t
35 test-children.t
36 test-children.t
36 test-clone-pull-corruption.t
37 test-clone-pull-corruption.t
37 test-clone-r.t
38 test-clone-r.t
38 test-clone-update-order.t
39 test-clone-update-order.t
39 test-command-template.t
40 test-command-template.t
40 test-commit-amend.t
41 test-commit-amend.t
41 test-commit-unresolved.t
42 test-commit-unresolved.t
42 test-commit.t
43 test-commit.t
43 test-completion.t
44 test-completion.t
44 test-conflict.t
45 test-conflict.t
45 test-confused-revert.t
46 test-confused-revert.t
46 test-contrib-check-code.t
47 test-contrib-check-code.t
47 test-contrib-check-commit.t
48 test-contrib-check-commit.t
48 test-convert-authormap.t
49 test-convert-authormap.t
49 test-convert-clonebranches.t
50 test-convert-clonebranches.t
50 test-convert-datesort.t
51 test-convert-datesort.t
51 test-convert-filemap.t
52 test-convert-filemap.t
52 test-convert-hg-sink.t
53 test-convert-hg-sink.t
53 test-convert-hg-source.t
54 test-convert-hg-source.t
54 test-convert-hg-startrev.t
55 test-convert-hg-startrev.t
55 test-copy-move-merge.t
56 test-copy-move-merge.t
56 test-copytrace-heuristics.t
57 test-copytrace-heuristics.t
57 test-debugbuilddag.t
58 test-debugbuilddag.t
58 test-debugbundle.t
59 test-debugbundle.t
59 test-debugextensions.t
60 test-debugextensions.t
60 test-debugindexdot.t
61 test-debugindexdot.t
61 test-debugrename.t
62 test-debugrename.t
62 test-diff-binary-file.t
63 test-diff-binary-file.t
63 test-diff-change.t
64 test-diff-change.t
64 test-diff-copy-depth.t
65 test-diff-copy-depth.t
65 test-diff-hashes.t
66 test-diff-hashes.t
66 test-diff-issue2761.t
67 test-diff-issue2761.t
67 test-diff-newlines.t
68 test-diff-newlines.t
68 test-diff-reverse.t
69 test-diff-reverse.t
69 test-diff-subdir.t
70 test-diff-subdir.t
70 test-diffdir.t
71 test-diffdir.t
71 test-directaccess.t
72 test-directaccess.t
72 test-dirstate-backup.t
73 test-dirstate-backup.t
73 test-dirstate-nonnormalset.t
74 test-dirstate-nonnormalset.t
74 test-doctest.py
75 test-doctest.py
75 test-double-merge.t
76 test-double-merge.t
76 test-drawdag.t
77 test-drawdag.t
77 test-duplicateoptions.py
78 test-duplicateoptions.py
78 test-empty-dir.t
79 test-empty-dir.t
79 test-empty-file.t
80 test-empty-file.t
80 test-empty-group.t
81 test-empty-group.t
81 test-empty.t
82 test-empty.t
82 test-encoding-func.py
83 test-encoding-func.py
83 test-encoding.t
84 test-encoding.t
84 test-eol-add.t
85 test-eol-add.t
85 test-eol-clone.t
86 test-eol-clone.t
86 test-eol-tag.t
87 test-eol-tag.t
87 test-eol-update.t
88 test-eol-update.t
88 test-excessive-merge.t
89 test-excessive-merge.t
89 test-exchange-obsmarkers-case-A1.t
90 test-exchange-obsmarkers-case-A1.t
90 test-exchange-obsmarkers-case-A2.t
91 test-exchange-obsmarkers-case-A2.t
91 test-exchange-obsmarkers-case-A3.t
92 test-exchange-obsmarkers-case-A3.t
92 test-exchange-obsmarkers-case-A4.t
93 test-exchange-obsmarkers-case-A4.t
93 test-exchange-obsmarkers-case-A5.t
94 test-exchange-obsmarkers-case-A5.t
94 test-exchange-obsmarkers-case-A6.t
95 test-exchange-obsmarkers-case-A6.t
95 test-exchange-obsmarkers-case-A7.t
96 test-exchange-obsmarkers-case-A7.t
96 test-exchange-obsmarkers-case-B1.t
97 test-exchange-obsmarkers-case-B1.t
97 test-exchange-obsmarkers-case-B2.t
98 test-exchange-obsmarkers-case-B2.t
98 test-exchange-obsmarkers-case-B3.t
99 test-exchange-obsmarkers-case-B3.t
99 test-exchange-obsmarkers-case-B4.t
100 test-exchange-obsmarkers-case-B4.t
100 test-exchange-obsmarkers-case-B5.t
101 test-exchange-obsmarkers-case-B5.t
101 test-exchange-obsmarkers-case-B6.t
102 test-exchange-obsmarkers-case-B6.t
102 test-exchange-obsmarkers-case-B7.t
103 test-exchange-obsmarkers-case-B7.t
103 test-exchange-obsmarkers-case-C1.t
104 test-exchange-obsmarkers-case-C1.t
104 test-exchange-obsmarkers-case-C2.t
105 test-exchange-obsmarkers-case-C2.t
105 test-exchange-obsmarkers-case-C3.t
106 test-exchange-obsmarkers-case-C3.t
106 test-exchange-obsmarkers-case-C4.t
107 test-exchange-obsmarkers-case-C4.t
107 test-exchange-obsmarkers-case-D1.t
108 test-exchange-obsmarkers-case-D1.t
108 test-exchange-obsmarkers-case-D2.t
109 test-exchange-obsmarkers-case-D2.t
109 test-exchange-obsmarkers-case-D3.t
110 test-exchange-obsmarkers-case-D3.t
110 test-exchange-obsmarkers-case-D4.t
111 test-exchange-obsmarkers-case-D4.t
111 test-execute-bit.t
112 test-execute-bit.t
112 test-extdiff.t
113 test-extdiff.t
113 test-extra-filelog-entry.t
114 test-extra-filelog-entry.t
114 test-filebranch.t
115 test-filebranch.t
115 test-fileset-generated.t
116 test-fileset-generated.t
116 test-flags.t
117 test-flags.t
117 test-generaldelta.t
118 test-generaldelta.t
118 test-getbundle.t
119 test-getbundle.t
119 test-git-export.t
120 test-git-export.t
120 test-glog-topological.t
121 test-glog-topological.t
121 test-gpg.t
122 test-gpg.t
122 test-graft.t
123 test-graft.t
123 test-hghave.t
124 test-hghave.t
124 test-hgignore.t
125 test-hgignore.t
125 test-hgk.t
126 test-hgk.t
126 test-hgweb-removed.t
127 test-hgweb-removed.t
127 test-histedit-arguments.t
128 test-histedit-arguments.t
128 test-histedit-base.t
129 test-histedit-base.t
129 test-histedit-bookmark-motion.t
130 test-histedit-bookmark-motion.t
130 test-histedit-commute.t
131 test-histedit-commute.t
131 test-histedit-drop.t
132 test-histedit-drop.t
132 test-histedit-edit.t
133 test-histedit-edit.t
133 test-histedit-fold-non-commute.t
134 test-histedit-fold-non-commute.t
134 test-histedit-fold.t
135 test-histedit-fold.t
135 test-histedit-no-change.t
136 test-histedit-no-change.t
136 test-histedit-non-commute-abort.t
137 test-histedit-non-commute-abort.t
137 test-histedit-non-commute.t
138 test-histedit-non-commute.t
138 test-histedit-obsolete.t
139 test-histedit-obsolete.t
139 test-histedit-outgoing.t
140 test-histedit-outgoing.t
140 test-histedit-templates.t
141 test-histedit-templates.t
141 test-http-branchmap.t
142 test-http-branchmap.t
142 test-http-clone-r.t
143 test-http-clone-r.t
143 test-identify.t
144 test-identify.t
144 test-imports-checker.t
145 test-imports-checker.t
145 test-inherit-mode.t
146 test-inherit-mode.t
146 test-issue1089.t
147 test-issue1089.t
147 test-issue1102.t
148 test-issue1102.t
148 test-issue1175.t
149 test-issue1175.t
149 test-issue1306.t
150 test-issue1306.t
150 test-issue1438.t
151 test-issue1438.t
151 test-issue1502.t
152 test-issue1502.t
152 test-issue1802.t
153 test-issue1802.t
153 test-issue1877.t
154 test-issue1877.t
154 test-issue1993.t
155 test-issue1993.t
155 test-issue2137.t
156 test-issue2137.t
156 test-issue3084.t
157 test-issue3084.t
157 test-issue4074.t
158 test-issue4074.t
158 test-issue522.t
159 test-issue522.t
159 test-issue586.t
160 test-issue586.t
160 test-issue612.t
161 test-issue612.t
161 test-issue619.t
162 test-issue619.t
162 test-issue672.t
163 test-issue672.t
163 test-issue842.t
164 test-issue842.t
164 test-journal-exists.t
165 test-journal-exists.t
165 test-largefiles-small-disk.t
166 test-largefiles-small-disk.t
166 test-locate.t
167 test-locate.t
167 test-logexchange.t
168 test-logexchange.t
168 test-lrucachedict.py
169 test-lrucachedict.py
169 test-mactext.t
170 test-mactext.t
170 test-manifest-merging.t
171 test-manifest-merging.t
171 test-manifest.py
172 test-manifest.py
172 test-manifest.t
173 test-manifest.t
173 test-match.py
174 test-match.py
174 test-mdiff.py
175 test-mdiff.py
175 test-merge-closedheads.t
176 test-merge-closedheads.t
176 test-merge-commit.t
177 test-merge-commit.t
177 test-merge-criss-cross.t
178 test-merge-criss-cross.t
178 test-merge-default.t
179 test-merge-default.t
179 test-merge-internal-tools-pattern.t
180 test-merge-internal-tools-pattern.t
180 test-merge-local.t
181 test-merge-local.t
181 test-merge-remove.t
182 test-merge-remove.t
182 test-merge-revert.t
183 test-merge-revert.t
183 test-merge-revert2.t
184 test-merge-revert2.t
184 test-merge-subrepos.t
185 test-merge-subrepos.t
185 test-merge-symlinks.t
186 test-merge-symlinks.t
186 test-merge-types.t
187 test-merge-types.t
187 test-merge1.t
188 test-merge1.t
188 test-merge10.t
189 test-merge10.t
189 test-merge2.t
190 test-merge2.t
190 test-merge4.t
191 test-merge4.t
191 test-merge5.t
192 test-merge5.t
192 test-merge6.t
193 test-merge6.t
193 test-merge7.t
194 test-merge7.t
194 test-merge8.t
195 test-merge8.t
195 test-merge9.t
196 test-merge9.t
196 test-mq-git.t
197 test-mq-git.t
197 test-mq-pull-from-bundle.t
198 test-mq-pull-from-bundle.t
198 test-mq-qdiff.t
199 test-mq-qdiff.t
199 test-mq-qimport-fail-cleanup.t
200 test-mq-qimport-fail-cleanup.t
200 test-mq-qqueue.t
201 test-mq-qqueue.t
201 test-mq-qrefresh.t
202 test-mq-qrefresh.t
202 test-mq-qsave.t
203 test-mq-qsave.t
203 test-narrow-clone-no-ellipsis.t
204 test-narrow-clone-no-ellipsis.t
204 test-narrow-clone-nonlinear.t
205 test-narrow-clone-nonlinear.t
205 test-narrow-clone.t
206 test-narrow-clone.t
206 test-narrow-commit.t
207 test-narrow-commit.t
207 test-narrow-copies.t
208 test-narrow-copies.t
208 test-narrow-debugrebuilddirstate.t
209 test-narrow-debugrebuilddirstate.t
209 test-narrow-exchange-merges.t
210 test-narrow-exchange-merges.t
210 test-narrow-exchange.t
211 test-narrow-exchange.t
211 test-narrow-merge.t
212 test-narrow-merge.t
212 test-narrow-patch.t
213 test-narrow-patch.t
213 test-narrow-patterns.t
214 test-narrow-patterns.t
214 test-narrow-pull.t
215 test-narrow-pull.t
215 test-narrow-rebase.t
216 test-narrow-rebase.t
216 test-narrow-shallow-merges.t
217 test-narrow-shallow-merges.t
217 test-narrow-shallow.t
218 test-narrow-shallow.t
218 test-narrow-update.t
219 test-narrow-update.t
219 test-newbranch.t
220 test-newbranch.t
220 test-obshistory.t
221 test-obshistory.t
221 test-obsmarker-template.t
222 test-obsmarker-template.t
222 test-obsmarkers-effectflag.t
223 test-obsmarkers-effectflag.t
223 test-obsolete-bundle-strip.t
224 test-obsolete-bundle-strip.t
224 test-obsolete-changeset-exchange.t
225 test-obsolete-changeset-exchange.t
225 test-obsolete-checkheads.t
226 test-obsolete-checkheads.t
226 test-obsolete-distributed.t
227 test-obsolete-distributed.t
227 test-obsolete-tag-cache.t
228 test-obsolete-tag-cache.t
228 test-parents.t
229 test-parents.t
229 test-pathconflicts-merge.t
230 test-pathconflicts-merge.t
230 test-pathconflicts-update.t
231 test-pathconflicts-update.t
231 test-pending.t
232 test-pending.t
232 test-permissions.t
233 test-permissions.t
233 test-phases.t
234 test-phases.t
234 test-pull-branch.t
235 test-pull-branch.t
235 test-pull-http.t
236 test-pull-http.t
236 test-pull-permission.t
237 test-pull-permission.t
237 test-pull-pull-corruption.t
238 test-pull-pull-corruption.t
238 test-pull-r.t
239 test-pull-r.t
239 test-pull-update.t
240 test-pull-update.t
240 test-purge.t
241 test-purge.t
241 test-push-checkheads-partial-C1.t
242 test-push-checkheads-partial-C1.t
242 test-push-checkheads-partial-C2.t
243 test-push-checkheads-partial-C2.t
243 test-push-checkheads-partial-C3.t
244 test-push-checkheads-partial-C3.t
244 test-push-checkheads-partial-C4.t
245 test-push-checkheads-partial-C4.t
245 test-push-checkheads-pruned-B1.t
246 test-push-checkheads-pruned-B1.t
246 test-push-checkheads-pruned-B2.t
247 test-push-checkheads-pruned-B2.t
247 test-push-checkheads-pruned-B3.t
248 test-push-checkheads-pruned-B3.t
248 test-push-checkheads-pruned-B4.t
249 test-push-checkheads-pruned-B4.t
249 test-push-checkheads-pruned-B5.t
250 test-push-checkheads-pruned-B5.t
250 test-push-checkheads-pruned-B6.t
251 test-push-checkheads-pruned-B6.t
251 test-push-checkheads-pruned-B7.t
252 test-push-checkheads-pruned-B7.t
252 test-push-checkheads-pruned-B8.t
253 test-push-checkheads-pruned-B8.t
253 test-push-checkheads-superceed-A1.t
254 test-push-checkheads-superceed-A1.t
254 test-push-checkheads-superceed-A2.t
255 test-push-checkheads-superceed-A2.t
255 test-push-checkheads-superceed-A3.t
256 test-push-checkheads-superceed-A3.t
256 test-push-checkheads-superceed-A4.t
257 test-push-checkheads-superceed-A4.t
257 test-push-checkheads-superceed-A5.t
258 test-push-checkheads-superceed-A5.t
258 test-push-checkheads-superceed-A6.t
259 test-push-checkheads-superceed-A6.t
259 test-push-checkheads-superceed-A7.t
260 test-push-checkheads-superceed-A7.t
260 test-push-checkheads-superceed-A8.t
261 test-push-checkheads-superceed-A8.t
261 test-push-checkheads-unpushed-D1.t
262 test-push-checkheads-unpushed-D1.t
262 test-push-checkheads-unpushed-D2.t
263 test-push-checkheads-unpushed-D2.t
263 test-push-checkheads-unpushed-D3.t
264 test-push-checkheads-unpushed-D3.t
264 test-push-checkheads-unpushed-D4.t
265 test-push-checkheads-unpushed-D4.t
265 test-push-checkheads-unpushed-D5.t
266 test-push-checkheads-unpushed-D5.t
266 test-push-checkheads-unpushed-D6.t
267 test-push-checkheads-unpushed-D6.t
267 test-push-checkheads-unpushed-D7.t
268 test-push-checkheads-unpushed-D7.t
268 test-push-http.t
269 test-push-http.t
269 test-push-warn.t
270 test-push-warn.t
270 test-pushvars.t
271 test-pushvars.t
271 test-rebase-abort.t
272 test-rebase-abort.t
272 test-rebase-base-flag.t
273 test-rebase-base-flag.t
273 test-rebase-bookmarks.t
274 test-rebase-bookmarks.t
274 test-rebase-brute-force.t
275 test-rebase-brute-force.t
275 test-rebase-cache.t
276 test-rebase-cache.t
276 test-rebase-check-restore.t
277 test-rebase-check-restore.t
277 test-rebase-collapse.t
278 test-rebase-collapse.t
278 test-rebase-dest.t
279 test-rebase-dest.t
279 test-rebase-detach.t
280 test-rebase-detach.t
280 test-rebase-emptycommit.t
281 test-rebase-emptycommit.t
281 test-rebase-inmemory.t
282 test-rebase-inmemory.t
282 test-rebase-interruptions.t
283 test-rebase-interruptions.t
283 test-rebase-issue-noparam-single-rev.t
284 test-rebase-issue-noparam-single-rev.t
284 test-rebase-legacy.t
285 test-rebase-legacy.t
285 test-rebase-named-branches.t
286 test-rebase-named-branches.t
286 test-rebase-newancestor.t
287 test-rebase-newancestor.t
287 test-rebase-obsolete.t
288 test-rebase-obsolete.t
288 test-rebase-parameters.t
289 test-rebase-parameters.t
289 test-rebase-partial.t
290 test-rebase-partial.t
290 test-rebase-pull.t
291 test-rebase-pull.t
291 test-rebase-rename.t
292 test-rebase-rename.t
292 test-rebase-scenario-global.t
293 test-rebase-scenario-global.t
293 test-rebase-templates.t
294 test-rebase-templates.t
294 test-rebase-transaction.t
295 test-rebase-transaction.t
295 test-record.t
296 test-record.t
296 test-relink.t
297 test-relink.t
297 test-remove.t
298 test-remove.t
298 test-rename-after-merge.t
299 test-rename-after-merge.t
299 test-rename-dir-merge.t
300 test-rename-dir-merge.t
300 test-rename-merge1.t
301 test-rename-merge1.t
301 test-rename.t
302 test-rename.t
302 test-repair-strip.t
303 test-repair-strip.t
303 test-repo-compengines.t
304 test-repo-compengines.t
304 test-resolve.t
305 test-resolve.t
305 test-revert-flags.t
306 test-revert-flags.t
306 test-revert-unknown.t
307 test-revert-unknown.t
307 test-revlog-ancestry.py
308 test-revlog-ancestry.py
308 test-revlog-group-emptyiter.t
309 test-revlog-group-emptyiter.t
309 test-revlog-mmapindex.t
310 test-revlog-mmapindex.t
310 test-revlog-packentry.t
311 test-revlog-packentry.t
311 test-revset-dirstate-parents.t
312 test-revset-dirstate-parents.t
312 test-revset-outgoing.t
313 test-revset-outgoing.t
313 test-run-tests.py
314 test-run-tests.py
314 test-serve.t
315 test-serve.t
315 test-share.t
316 test-share.t
316 test-show-stack.t
317 test-show-stack.t
317 test-show-work.t
318 test-show-work.t
318 test-show.t
319 test-show.t
319 test-simple-update.t
320 test-simple-update.t
320 test-single-head.t
321 test-single-head.t
321 test-sparse-clear.t
322 test-sparse-clear.t
322 test-sparse-merges.t
323 test-sparse-merges.t
323 test-sparse-requirement.t
324 test-sparse-requirement.t
324 test-sparse-verbose-json.t
325 test-sparse-verbose-json.t
325 test-ssh-clone-r.t
326 test-ssh-clone-r.t
326 test-ssh-proto.t
327 test-ssh-proto.t
327 test-sshserver.py
328 test-sshserver.py
328 test-status-rev.t
329 test-status-rev.t
329 test-status-terse.t
330 test-status-terse.t
330 test-strip-cross.t
331 test-strip-cross.t
331 test-strip.t
332 test-strip.t
332 test-unamend.t
333 test-unamend.t
333 test-uncommit.t
334 test-uncommit.t
334 test-unified-test.t
335 test-unified-test.t
335 test-unrelated-pull.t
336 test-unrelated-pull.t
336 test-up-local-change.t
337 test-up-local-change.t
337 test-update-branches.t
338 test-update-branches.t
338 test-update-dest.t
339 test-update-dest.t
339 test-update-issue1456.t
340 test-update-issue1456.t
340 test-update-names.t
341 test-update-names.t
341 test-update-reverse.t
342 test-update-reverse.t
342 test-url-rev.t
343 test-url-rev.t
343 test-username-newline.t
344 test-username-newline.t
344 test-verify.t
345 test-verify.t
345 test-websub.t
346 test-websub.t
346 test-win32text.t
347 test-win32text.t
347 test-xdg.t
348 test-xdg.t
@@ -1,99 +1,99 b''
1 Create a repository:
1 Create a repository:
2
2
3 $ hg config
3 $ hg config
4 devel.all-warnings=true
4 devel.all-warnings=true
5 devel.default-date=0 0
5 devel.default-date=0 0
6 extensions.fsmonitor= (fsmonitor !)
6 extensions.fsmonitor= (fsmonitor !)
7 largefiles.usercache=$TESTTMP/.cache/largefiles
7 largefiles.usercache=$TESTTMP/.cache/largefiles
8 lfs.usercache=$TESTTMP/.cache/lfs
8 lfs.usercache=$TESTTMP/.cache/lfs
9 ui.slash=True
9 ui.slash=True
10 ui.interactive=False
10 ui.interactive=False
11 ui.mergemarkers=detailed
11 ui.mergemarkers=detailed
12 ui.promptecho=True
12 ui.promptecho=True
13 web.address=localhost
13 web.address=localhost
14 web\.ipv6=(?:True|False) (re)
14 web\.ipv6=(?:True|False) (re)
15 $ hg init t
15 $ hg init t
16 $ cd t
16 $ cd t
17
17
18 Prepare a changeset:
18 Prepare a changeset:
19
19
20 $ echo a > a
20 $ echo a > a
21 $ hg add a
21 $ hg add a
22
22
23 $ hg status
23 $ hg status
24 A a
24 A a
25
25
26 Writes to stdio succeed and fail appropriately
26 Writes to stdio succeed and fail appropriately
27
27
28 #if devfull
28 #if devfull
29 $ hg status 2>/dev/full
29 $ hg status 2>/dev/full
30 A a
30 A a
31
31
32 $ hg status >/dev/full
32 $ hg status >/dev/full
33 abort: No space left on device
33 abort: No space left on device
34 [255]
34 [255]
35 #endif
35 #endif
36
36
37 #if devfull
37 #if devfull
38 $ hg status >/dev/full 2>&1
38 $ hg status >/dev/full 2>&1
39 [255]
39 [255]
40
40
41 $ hg status ENOENT 2>/dev/full
41 $ hg status ENOENT 2>/dev/full
42 [255]
42 [255]
43 #endif
43 #endif
44
44
45 $ hg commit -m test
45 $ hg commit -m test
46
46
47 This command is ancient:
47 This command is ancient:
48
48
49 $ hg history
49 $ hg history
50 changeset: 0:acb14030fe0a
50 changeset: 0:acb14030fe0a
51 tag: tip
51 tag: tip
52 user: test
52 user: test
53 date: Thu Jan 01 00:00:00 1970 +0000
53 date: Thu Jan 01 00:00:00 1970 +0000
54 summary: test
54 summary: test
55
55
56
56
57 Verify that updating to revision 0 via commands.update() works properly
57 Verify that updating to revision 0 via commands.update() works properly
58
58
59 $ cat <<EOF > update_to_rev0.py
59 $ cat <<EOF > update_to_rev0.py
60 > from mercurial import ui, hg, commands
60 > from mercurial import ui, hg, commands
61 > myui = ui.ui.load()
61 > myui = ui.ui.load()
62 > repo = hg.repository(myui, path='.')
62 > repo = hg.repository(myui, path=b'.')
63 > commands.update(myui, repo, rev=0)
63 > commands.update(myui, repo, rev=0)
64 > EOF
64 > EOF
65 $ hg up null
65 $ hg up null
66 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
66 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
67 $ $PYTHON ./update_to_rev0.py
67 $ $PYTHON ./update_to_rev0.py
68 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
68 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
69 $ hg identify -n
69 $ hg identify -n
70 0
70 0
71
71
72
72
73 Poke around at hashes:
73 Poke around at hashes:
74
74
75 $ hg manifest --debug
75 $ hg manifest --debug
76 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
76 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644 a
77
77
78 $ hg cat a
78 $ hg cat a
79 a
79 a
80
80
81 Verify should succeed:
81 Verify should succeed:
82
82
83 $ hg verify
83 $ hg verify
84 checking changesets
84 checking changesets
85 checking manifests
85 checking manifests
86 crosschecking files in changesets and manifests
86 crosschecking files in changesets and manifests
87 checking files
87 checking files
88 1 files, 1 changesets, 1 total revisions
88 1 files, 1 changesets, 1 total revisions
89
89
90 Repository root:
90 Repository root:
91
91
92 $ hg root
92 $ hg root
93 $TESTTMP/t
93 $TESTTMP/t
94 $ hg log -l1 -T '{reporoot}\n'
94 $ hg log -l1 -T '{reporoot}\n'
95 $TESTTMP/t
95 $TESTTMP/t
96
96
97 At the end...
97 At the end...
98
98
99 $ cd ..
99 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now