##// END OF EJS Templates
py3: use '%d' for rev nums instead of '%s'...
Pulkit Goyal -
r40264:a17c0779 default
parent child Browse files
Show More
@@ -1,606 +1,607 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-absorb-filefixupstate.py
2 test-absorb-filefixupstate.py
3 test-absorb-phase.t
3 test-absorb-phase.t
4 test-absorb-rename.t
4 test-absorb-rename.t
5 test-absorb-strip.t
5 test-absorb-strip.t
6 test-absorb.t
6 test-absorb.t
7 test-add.t
7 test-add.t
8 test-addremove-similar.t
8 test-addremove-similar.t
9 test-addremove.t
9 test-addremove.t
10 test-alias.t
10 test-alias.t
11 test-amend-subrepo.t
11 test-amend-subrepo.t
12 test-amend.t
12 test-amend.t
13 test-ancestor.py
13 test-ancestor.py
14 test-annotate.py
14 test-annotate.py
15 test-annotate.t
15 test-annotate.t
16 test-archive-symlinks.t
16 test-archive-symlinks.t
17 test-atomictempfile.py
17 test-atomictempfile.py
18 test-audit-path.t
18 test-audit-path.t
19 test-audit-subrepo.t
19 test-audit-subrepo.t
20 test-automv.t
20 test-automv.t
21 test-backout.t
21 test-backout.t
22 test-backwards-remove.t
22 test-backwards-remove.t
23 test-bad-pull.t
23 test-bad-pull.t
24 test-basic.t
24 test-basic.t
25 test-bdiff.py
25 test-bdiff.py
26 test-bheads.t
26 test-bheads.t
27 test-bisect.t
27 test-bisect.t
28 test-bisect2.t
28 test-bisect2.t
29 test-bisect3.t
29 test-bisect3.t
30 test-blackbox.t
30 test-blackbox.t
31 test-bookmarks-current.t
31 test-bookmarks-current.t
32 test-bookmarks-merge.t
32 test-bookmarks-merge.t
33 test-bookmarks-pushpull.t
33 test-bookmarks-pushpull.t
34 test-bookmarks-rebase.t
34 test-bookmarks-rebase.t
35 test-bookmarks-strip.t
35 test-bookmarks-strip.t
36 test-bookmarks.t
36 test-bookmarks.t
37 test-branch-change.t
37 test-branch-change.t
38 test-branch-option.t
38 test-branch-option.t
39 test-branch-tag-confict.t
39 test-branch-tag-confict.t
40 test-branches.t
40 test-branches.t
41 test-bundle-phases.t
41 test-bundle-phases.t
42 test-bundle-r.t
42 test-bundle-r.t
43 test-bundle-type.t
43 test-bundle-type.t
44 test-bundle-vs-outgoing.t
44 test-bundle-vs-outgoing.t
45 test-bundle.t
45 test-bundle.t
46 test-bundle2-exchange.t
46 test-bundle2-exchange.t
47 test-bundle2-format.t
47 test-bundle2-format.t
48 test-bundle2-multiple-changegroups.t
48 test-bundle2-multiple-changegroups.t
49 test-bundle2-pushback.t
49 test-bundle2-pushback.t
50 test-bundle2-remote-changegroup.t
50 test-bundle2-remote-changegroup.t
51 test-cappedreader.py
51 test-cappedreader.py
52 test-casecollision.t
52 test-casecollision.t
53 test-cat.t
53 test-cat.t
54 test-cbor.py
54 test-cbor.py
55 test-censor.t
55 test-censor.t
56 test-changelog-exec.t
56 test-changelog-exec.t
57 test-check-code.t
57 test-check-code.t
58 test-check-commit.t
58 test-check-commit.t
59 test-check-execute.t
59 test-check-execute.t
60 test-check-interfaces.py
60 test-check-interfaces.py
61 test-check-module-imports.t
61 test-check-module-imports.t
62 test-check-py3-compat.t
62 test-check-py3-compat.t
63 test-check-pyflakes.t
63 test-check-pyflakes.t
64 test-check-pylint.t
64 test-check-pylint.t
65 test-check-shbang.t
65 test-check-shbang.t
66 test-children.t
66 test-children.t
67 test-clone-cgi.t
67 test-clone-cgi.t
68 test-clone-pull-corruption.t
68 test-clone-pull-corruption.t
69 test-clone-r.t
69 test-clone-r.t
70 test-clone-uncompressed.t
70 test-clone-uncompressed.t
71 test-clone-update-order.t
71 test-clone-update-order.t
72 test-clone.t
72 test-clone.t
73 test-clonebundles.t
73 test-clonebundles.t
74 test-close-head.t
74 test-commit-amend.t
75 test-commit-amend.t
75 test-commit-interactive.t
76 test-commit-interactive.t
76 test-commit-multiple.t
77 test-commit-multiple.t
77 test-commit-unresolved.t
78 test-commit-unresolved.t
78 test-commit.t
79 test-commit.t
79 test-committer.t
80 test-committer.t
80 test-completion.t
81 test-completion.t
81 test-config-env.py
82 test-config-env.py
82 test-config.t
83 test-config.t
83 test-conflict.t
84 test-conflict.t
84 test-confused-revert.t
85 test-confused-revert.t
85 test-context.py
86 test-context.py
86 test-contrib-check-code.t
87 test-contrib-check-code.t
87 test-contrib-check-commit.t
88 test-contrib-check-commit.t
88 test-contrib-dumprevlog.t
89 test-contrib-dumprevlog.t
89 test-contrib-perf.t
90 test-contrib-perf.t
90 test-contrib-testparseutil.t
91 test-contrib-testparseutil.t
91 test-convert-authormap.t
92 test-convert-authormap.t
92 test-convert-clonebranches.t
93 test-convert-clonebranches.t
93 test-convert-cvs-branch.t
94 test-convert-cvs-branch.t
94 test-convert-cvs-detectmerge.t
95 test-convert-cvs-detectmerge.t
95 test-convert-cvs-synthetic.t
96 test-convert-cvs-synthetic.t
96 test-convert-cvs.t
97 test-convert-cvs.t
97 test-convert-cvsnt-mergepoints.t
98 test-convert-cvsnt-mergepoints.t
98 test-convert-datesort.t
99 test-convert-datesort.t
99 test-convert-filemap.t
100 test-convert-filemap.t
100 test-convert-hg-sink.t
101 test-convert-hg-sink.t
101 test-convert-hg-source.t
102 test-convert-hg-source.t
102 test-convert-hg-startrev.t
103 test-convert-hg-startrev.t
103 test-convert-splicemap.t
104 test-convert-splicemap.t
104 test-convert-tagsbranch-topology.t
105 test-convert-tagsbranch-topology.t
105 test-copy-move-merge.t
106 test-copy-move-merge.t
106 test-copy.t
107 test-copy.t
107 test-copytrace-heuristics.t
108 test-copytrace-heuristics.t
108 test-debugbuilddag.t
109 test-debugbuilddag.t
109 test-debugbundle.t
110 test-debugbundle.t
110 test-debugcommands.t
111 test-debugcommands.t
111 test-debugextensions.t
112 test-debugextensions.t
112 test-debugindexdot.t
113 test-debugindexdot.t
113 test-debugrename.t
114 test-debugrename.t
114 test-default-push.t
115 test-default-push.t
115 test-diff-antipatience.t
116 test-diff-antipatience.t
116 test-diff-binary-file.t
117 test-diff-binary-file.t
117 test-diff-change.t
118 test-diff-change.t
118 test-diff-copy-depth.t
119 test-diff-copy-depth.t
119 test-diff-hashes.t
120 test-diff-hashes.t
120 test-diff-ignore-whitespace.t
121 test-diff-ignore-whitespace.t
121 test-diff-indent-heuristic.t
122 test-diff-indent-heuristic.t
122 test-diff-issue2761.t
123 test-diff-issue2761.t
123 test-diff-newlines.t
124 test-diff-newlines.t
124 test-diff-reverse.t
125 test-diff-reverse.t
125 test-diff-subdir.t
126 test-diff-subdir.t
126 test-diff-unified.t
127 test-diff-unified.t
127 test-diff-upgrade.t
128 test-diff-upgrade.t
128 test-diffdir.t
129 test-diffdir.t
129 test-diffstat.t
130 test-diffstat.t
130 test-directaccess.t
131 test-directaccess.t
131 test-dirstate-backup.t
132 test-dirstate-backup.t
132 test-dirstate-nonnormalset.t
133 test-dirstate-nonnormalset.t
133 test-dirstate.t
134 test-dirstate.t
134 test-dispatch.py
135 test-dispatch.py
135 test-doctest.py
136 test-doctest.py
136 test-double-merge.t
137 test-double-merge.t
137 test-drawdag.t
138 test-drawdag.t
138 test-duplicateoptions.py
139 test-duplicateoptions.py
139 test-editor-filename.t
140 test-editor-filename.t
140 test-empty-dir.t
141 test-empty-dir.t
141 test-empty-file.t
142 test-empty-file.t
142 test-empty-group.t
143 test-empty-group.t
143 test-empty.t
144 test-empty.t
144 test-encode.t
145 test-encode.t
145 test-encoding-func.py
146 test-encoding-func.py
146 test-encoding.t
147 test-encoding.t
147 test-eol-add.t
148 test-eol-add.t
148 test-eol-clone.t
149 test-eol-clone.t
149 test-eol-hook.t
150 test-eol-hook.t
150 test-eol-patch.t
151 test-eol-patch.t
151 test-eol-tag.t
152 test-eol-tag.t
152 test-eol-update.t
153 test-eol-update.t
153 test-eol.t
154 test-eol.t
154 test-eolfilename.t
155 test-eolfilename.t
155 test-excessive-merge.t
156 test-excessive-merge.t
156 test-exchange-obsmarkers-case-A1.t
157 test-exchange-obsmarkers-case-A1.t
157 test-exchange-obsmarkers-case-A2.t
158 test-exchange-obsmarkers-case-A2.t
158 test-exchange-obsmarkers-case-A3.t
159 test-exchange-obsmarkers-case-A3.t
159 test-exchange-obsmarkers-case-A4.t
160 test-exchange-obsmarkers-case-A4.t
160 test-exchange-obsmarkers-case-A5.t
161 test-exchange-obsmarkers-case-A5.t
161 test-exchange-obsmarkers-case-A6.t
162 test-exchange-obsmarkers-case-A6.t
162 test-exchange-obsmarkers-case-A7.t
163 test-exchange-obsmarkers-case-A7.t
163 test-exchange-obsmarkers-case-B1.t
164 test-exchange-obsmarkers-case-B1.t
164 test-exchange-obsmarkers-case-B2.t
165 test-exchange-obsmarkers-case-B2.t
165 test-exchange-obsmarkers-case-B3.t
166 test-exchange-obsmarkers-case-B3.t
166 test-exchange-obsmarkers-case-B4.t
167 test-exchange-obsmarkers-case-B4.t
167 test-exchange-obsmarkers-case-B5.t
168 test-exchange-obsmarkers-case-B5.t
168 test-exchange-obsmarkers-case-B6.t
169 test-exchange-obsmarkers-case-B6.t
169 test-exchange-obsmarkers-case-B7.t
170 test-exchange-obsmarkers-case-B7.t
170 test-exchange-obsmarkers-case-C1.t
171 test-exchange-obsmarkers-case-C1.t
171 test-exchange-obsmarkers-case-C2.t
172 test-exchange-obsmarkers-case-C2.t
172 test-exchange-obsmarkers-case-C3.t
173 test-exchange-obsmarkers-case-C3.t
173 test-exchange-obsmarkers-case-C4.t
174 test-exchange-obsmarkers-case-C4.t
174 test-exchange-obsmarkers-case-D1.t
175 test-exchange-obsmarkers-case-D1.t
175 test-exchange-obsmarkers-case-D2.t
176 test-exchange-obsmarkers-case-D2.t
176 test-exchange-obsmarkers-case-D3.t
177 test-exchange-obsmarkers-case-D3.t
177 test-exchange-obsmarkers-case-D4.t
178 test-exchange-obsmarkers-case-D4.t
178 test-execute-bit.t
179 test-execute-bit.t
179 test-export.t
180 test-export.t
180 test-extdata.t
181 test-extdata.t
181 test-extdiff.t
182 test-extdiff.t
182 test-extensions-afterloaded.t
183 test-extensions-afterloaded.t
183 test-extensions-wrapfunction.py
184 test-extensions-wrapfunction.py
184 test-extra-filelog-entry.t
185 test-extra-filelog-entry.t
185 test-fetch.t
186 test-fetch.t
186 test-filebranch.t
187 test-filebranch.t
187 test-filecache.py
188 test-filecache.py
188 test-filelog.py
189 test-filelog.py
189 test-fileset-generated.t
190 test-fileset-generated.t
190 test-fileset.t
191 test-fileset.t
191 test-fix-topology.t
192 test-fix-topology.t
192 test-flags.t
193 test-flags.t
193 test-generaldelta.t
194 test-generaldelta.t
194 test-getbundle.t
195 test-getbundle.t
195 test-git-export.t
196 test-git-export.t
196 test-globalopts.t
197 test-globalopts.t
197 test-glog-beautifygraph.t
198 test-glog-beautifygraph.t
198 test-glog-topological.t
199 test-glog-topological.t
199 test-glog.t
200 test-glog.t
200 test-gpg.t
201 test-gpg.t
201 test-graft.t
202 test-graft.t
202 test-grep.t
203 test-grep.t
203 test-hg-parseurl.py
204 test-hg-parseurl.py
204 test-hghave.t
205 test-hghave.t
205 test-hgignore.t
206 test-hgignore.t
206 test-hgk.t
207 test-hgk.t
207 test-hgrc.t
208 test-hgrc.t
208 test-hgweb-annotate-whitespace.t
209 test-hgweb-annotate-whitespace.t
209 test-hgweb-bundle.t
210 test-hgweb-bundle.t
210 test-hgweb-csp.t
211 test-hgweb-csp.t
211 test-hgweb-descend-empties.t
212 test-hgweb-descend-empties.t
212 test-hgweb-diffs.t
213 test-hgweb-diffs.t
213 test-hgweb-empty.t
214 test-hgweb-empty.t
214 test-hgweb-filelog.t
215 test-hgweb-filelog.t
215 test-hgweb-non-interactive.t
216 test-hgweb-non-interactive.t
216 test-hgweb-raw.t
217 test-hgweb-raw.t
217 test-hgweb-removed.t
218 test-hgweb-removed.t
218 test-hgweb.t
219 test-hgweb.t
219 test-hgwebdir-paths.py
220 test-hgwebdir-paths.py
220 test-hgwebdirsym.t
221 test-hgwebdirsym.t
221 test-histedit-arguments.t
222 test-histedit-arguments.t
222 test-histedit-base.t
223 test-histedit-base.t
223 test-histedit-bookmark-motion.t
224 test-histedit-bookmark-motion.t
224 test-histedit-commute.t
225 test-histedit-commute.t
225 test-histedit-drop.t
226 test-histedit-drop.t
226 test-histedit-edit.t
227 test-histedit-edit.t
227 test-histedit-fold-non-commute.t
228 test-histedit-fold-non-commute.t
228 test-histedit-fold.t
229 test-histedit-fold.t
229 test-histedit-no-backup.t
230 test-histedit-no-backup.t
230 test-histedit-no-change.t
231 test-histedit-no-change.t
231 test-histedit-non-commute-abort.t
232 test-histedit-non-commute-abort.t
232 test-histedit-non-commute.t
233 test-histedit-non-commute.t
233 test-histedit-obsolete.t
234 test-histedit-obsolete.t
234 test-histedit-outgoing.t
235 test-histedit-outgoing.t
235 test-histedit-templates.t
236 test-histedit-templates.t
236 test-http-branchmap.t
237 test-http-branchmap.t
237 test-http-bundle1.t
238 test-http-bundle1.t
238 test-http-clone-r.t
239 test-http-clone-r.t
239 test-http-permissions.t
240 test-http-permissions.t
240 test-http.t
241 test-http.t
241 test-hybridencode.py
242 test-hybridencode.py
242 test-i18n.t
243 test-i18n.t
243 test-identify.t
244 test-identify.t
244 test-impexp-branch.t
245 test-impexp-branch.t
245 test-import-bypass.t
246 test-import-bypass.t
246 test-import-eol.t
247 test-import-eol.t
247 test-import-merge.t
248 test-import-merge.t
248 test-import-unknown.t
249 test-import-unknown.t
249 test-import.t
250 test-import.t
250 test-imports-checker.t
251 test-imports-checker.t
251 test-incoming-outgoing.t
252 test-incoming-outgoing.t
252 test-inherit-mode.t
253 test-inherit-mode.t
253 test-init.t
254 test-init.t
254 test-issue1089.t
255 test-issue1089.t
255 test-issue1102.t
256 test-issue1102.t
256 test-issue1175.t
257 test-issue1175.t
257 test-issue1306.t
258 test-issue1306.t
258 test-issue1438.t
259 test-issue1438.t
259 test-issue1502.t
260 test-issue1502.t
260 test-issue1802.t
261 test-issue1802.t
261 test-issue1877.t
262 test-issue1877.t
262 test-issue1993.t
263 test-issue1993.t
263 test-issue2137.t
264 test-issue2137.t
264 test-issue3084.t
265 test-issue3084.t
265 test-issue4074.t
266 test-issue4074.t
266 test-issue522.t
267 test-issue522.t
267 test-issue586.t
268 test-issue586.t
268 test-issue5979.t
269 test-issue5979.t
269 test-issue612.t
270 test-issue612.t
270 test-issue619.t
271 test-issue619.t
271 test-issue660.t
272 test-issue660.t
272 test-issue672.t
273 test-issue672.t
273 test-issue842.t
274 test-issue842.t
274 test-journal-exists.t
275 test-journal-exists.t
275 test-journal-share.t
276 test-journal-share.t
276 test-journal.t
277 test-journal.t
277 test-known.t
278 test-known.t
278 test-largefiles-cache.t
279 test-largefiles-cache.t
279 test-largefiles-misc.t
280 test-largefiles-misc.t
280 test-largefiles-small-disk.t
281 test-largefiles-small-disk.t
281 test-largefiles-update.t
282 test-largefiles-update.t
282 test-largefiles.t
283 test-largefiles.t
283 test-lfs-largefiles.t
284 test-lfs-largefiles.t
284 test-lfs-pointer.py
285 test-lfs-pointer.py
285 test-linelog.py
286 test-linelog.py
286 test-linerange.py
287 test-linerange.py
287 test-locate.t
288 test-locate.t
288 test-lock-badness.t
289 test-lock-badness.t
289 test-log-linerange.t
290 test-log-linerange.t
290 test-log.t
291 test-log.t
291 test-logexchange.t
292 test-logexchange.t
292 test-lrucachedict.py
293 test-lrucachedict.py
293 test-mactext.t
294 test-mactext.t
294 test-mailmap.t
295 test-mailmap.t
295 test-manifest-merging.t
296 test-manifest-merging.t
296 test-manifest.py
297 test-manifest.py
297 test-manifest.t
298 test-manifest.t
298 test-match.py
299 test-match.py
299 test-mdiff.py
300 test-mdiff.py
300 test-merge-changedelete.t
301 test-merge-changedelete.t
301 test-merge-closedheads.t
302 test-merge-closedheads.t
302 test-merge-commit.t
303 test-merge-commit.t
303 test-merge-criss-cross.t
304 test-merge-criss-cross.t
304 test-merge-default.t
305 test-merge-default.t
305 test-merge-force.t
306 test-merge-force.t
306 test-merge-halt.t
307 test-merge-halt.t
307 test-merge-internal-tools-pattern.t
308 test-merge-internal-tools-pattern.t
308 test-merge-local.t
309 test-merge-local.t
309 test-merge-no-file-change.t
310 test-merge-no-file-change.t
310 test-merge-remove.t
311 test-merge-remove.t
311 test-merge-revert.t
312 test-merge-revert.t
312 test-merge-revert2.t
313 test-merge-revert2.t
313 test-merge-subrepos.t
314 test-merge-subrepos.t
314 test-merge-symlinks.t
315 test-merge-symlinks.t
315 test-merge-tools.t
316 test-merge-tools.t
316 test-merge-types.t
317 test-merge-types.t
317 test-merge1.t
318 test-merge1.t
318 test-merge10.t
319 test-merge10.t
319 test-merge2.t
320 test-merge2.t
320 test-merge4.t
321 test-merge4.t
321 test-merge5.t
322 test-merge5.t
322 test-merge6.t
323 test-merge6.t
323 test-merge7.t
324 test-merge7.t
324 test-merge8.t
325 test-merge8.t
325 test-merge9.t
326 test-merge9.t
326 test-minifileset.py
327 test-minifileset.py
327 test-minirst.py
328 test-minirst.py
328 test-mq-git.t
329 test-mq-git.t
329 test-mq-guards.t
330 test-mq-guards.t
330 test-mq-header-date.t
331 test-mq-header-date.t
331 test-mq-header-from.t
332 test-mq-header-from.t
332 test-mq-merge.t
333 test-mq-merge.t
333 test-mq-pull-from-bundle.t
334 test-mq-pull-from-bundle.t
334 test-mq-qclone-http.t
335 test-mq-qclone-http.t
335 test-mq-qdelete.t
336 test-mq-qdelete.t
336 test-mq-qdiff.t
337 test-mq-qdiff.t
337 test-mq-qfold.t
338 test-mq-qfold.t
338 test-mq-qgoto.t
339 test-mq-qgoto.t
339 test-mq-qimport-fail-cleanup.t
340 test-mq-qimport-fail-cleanup.t
340 test-mq-qnew.t
341 test-mq-qnew.t
341 test-mq-qpush-exact.t
342 test-mq-qpush-exact.t
342 test-mq-qpush-fail.t
343 test-mq-qpush-fail.t
343 test-mq-qqueue.t
344 test-mq-qqueue.t
344 test-mq-qrefresh-interactive.t
345 test-mq-qrefresh-interactive.t
345 test-mq-qrefresh-replace-log-message.t
346 test-mq-qrefresh-replace-log-message.t
346 test-mq-qrefresh.t
347 test-mq-qrefresh.t
347 test-mq-qrename.t
348 test-mq-qrename.t
348 test-mq-qsave.t
349 test-mq-qsave.t
349 test-mq-safety.t
350 test-mq-safety.t
350 test-mq-subrepo.t
351 test-mq-subrepo.t
351 test-mq-symlinks.t
352 test-mq-symlinks.t
352 test-mq.t
353 test-mq.t
353 test-mv-cp-st-diff.t
354 test-mv-cp-st-diff.t
354 test-narrow-acl.t
355 test-narrow-acl.t
355 test-narrow-archive.t
356 test-narrow-archive.t
356 test-narrow-clone-no-ellipsis.t
357 test-narrow-clone-no-ellipsis.t
357 test-narrow-clone-non-narrow-server.t
358 test-narrow-clone-non-narrow-server.t
358 test-narrow-clone-nonlinear.t
359 test-narrow-clone-nonlinear.t
359 test-narrow-clone.t
360 test-narrow-clone.t
360 test-narrow-commit.t
361 test-narrow-commit.t
361 test-narrow-copies.t
362 test-narrow-copies.t
362 test-narrow-debugcommands.t
363 test-narrow-debugcommands.t
363 test-narrow-debugrebuilddirstate.t
364 test-narrow-debugrebuilddirstate.t
364 test-narrow-exchange-merges.t
365 test-narrow-exchange-merges.t
365 test-narrow-exchange.t
366 test-narrow-exchange.t
366 test-narrow-expanddirstate.t
367 test-narrow-expanddirstate.t
367 test-narrow-merge.t
368 test-narrow-merge.t
368 test-narrow-patch.t
369 test-narrow-patch.t
369 test-narrow-patterns.t
370 test-narrow-patterns.t
370 test-narrow-pull.t
371 test-narrow-pull.t
371 test-narrow-rebase.t
372 test-narrow-rebase.t
372 test-narrow-shallow-merges.t
373 test-narrow-shallow-merges.t
373 test-narrow-shallow.t
374 test-narrow-shallow.t
374 test-narrow-strip.t
375 test-narrow-strip.t
375 test-narrow-trackedcmd.t
376 test-narrow-trackedcmd.t
376 test-narrow-update.t
377 test-narrow-update.t
377 test-narrow-widen-no-ellipsis.t
378 test-narrow-widen-no-ellipsis.t
378 test-narrow-widen.t
379 test-narrow-widen.t
379 test-narrow.t
380 test-narrow.t
380 test-nested-repo.t
381 test-nested-repo.t
381 test-newbranch.t
382 test-newbranch.t
382 test-newercgi.t
383 test-newercgi.t
383 test-nointerrupt.t
384 test-nointerrupt.t
384 test-obshistory.t
385 test-obshistory.t
385 test-obsmarker-template.t
386 test-obsmarker-template.t
386 test-obsmarkers-effectflag.t
387 test-obsmarkers-effectflag.t
387 test-obsolete-bounds-checking.t
388 test-obsolete-bounds-checking.t
388 test-obsolete-bundle-strip.t
389 test-obsolete-bundle-strip.t
389 test-obsolete-changeset-exchange.t
390 test-obsolete-changeset-exchange.t
390 test-obsolete-checkheads.t
391 test-obsolete-checkheads.t
391 test-obsolete-distributed.t
392 test-obsolete-distributed.t
392 test-obsolete-divergent.t
393 test-obsolete-divergent.t
393 test-obsolete-tag-cache.t
394 test-obsolete-tag-cache.t
394 test-obsolete.t
395 test-obsolete.t
395 test-pager-legacy.t
396 test-pager-legacy.t
396 test-pager.t
397 test-pager.t
397 test-parents.t
398 test-parents.t
398 test-parseindex2.py
399 test-parseindex2.py
399 test-patch-offset.t
400 test-patch-offset.t
400 test-patch.t
401 test-patch.t
401 test-patchbomb-bookmark.t
402 test-patchbomb-bookmark.t
402 test-patchbomb-tls.t
403 test-patchbomb-tls.t
403 test-patchbomb.t
404 test-patchbomb.t
404 test-pathconflicts-merge.t
405 test-pathconflicts-merge.t
405 test-pathconflicts-update.t
406 test-pathconflicts-update.t
406 test-pathencode.py
407 test-pathencode.py
407 test-pending.t
408 test-pending.t
408 test-permissions.t
409 test-permissions.t
409 test-phases-exchange.t
410 test-phases-exchange.t
410 test-phases.t
411 test-phases.t
411 test-progress.t
412 test-progress.t
412 test-pull-branch.t
413 test-pull-branch.t
413 test-pull-http.t
414 test-pull-http.t
414 test-pull-permission.t
415 test-pull-permission.t
415 test-pull-pull-corruption.t
416 test-pull-pull-corruption.t
416 test-pull-r.t
417 test-pull-r.t
417 test-pull-update.t
418 test-pull-update.t
418 test-pull.t
419 test-pull.t
419 test-purge.t
420 test-purge.t
420 test-push-cgi.t
421 test-push-cgi.t
421 test-push-checkheads-partial-C1.t
422 test-push-checkheads-partial-C1.t
422 test-push-checkheads-partial-C2.t
423 test-push-checkheads-partial-C2.t
423 test-push-checkheads-partial-C3.t
424 test-push-checkheads-partial-C3.t
424 test-push-checkheads-partial-C4.t
425 test-push-checkheads-partial-C4.t
425 test-push-checkheads-pruned-B1.t
426 test-push-checkheads-pruned-B1.t
426 test-push-checkheads-pruned-B2.t
427 test-push-checkheads-pruned-B2.t
427 test-push-checkheads-pruned-B3.t
428 test-push-checkheads-pruned-B3.t
428 test-push-checkheads-pruned-B4.t
429 test-push-checkheads-pruned-B4.t
429 test-push-checkheads-pruned-B5.t
430 test-push-checkheads-pruned-B5.t
430 test-push-checkheads-pruned-B6.t
431 test-push-checkheads-pruned-B6.t
431 test-push-checkheads-pruned-B7.t
432 test-push-checkheads-pruned-B7.t
432 test-push-checkheads-pruned-B8.t
433 test-push-checkheads-pruned-B8.t
433 test-push-checkheads-superceed-A1.t
434 test-push-checkheads-superceed-A1.t
434 test-push-checkheads-superceed-A2.t
435 test-push-checkheads-superceed-A2.t
435 test-push-checkheads-superceed-A3.t
436 test-push-checkheads-superceed-A3.t
436 test-push-checkheads-superceed-A4.t
437 test-push-checkheads-superceed-A4.t
437 test-push-checkheads-superceed-A5.t
438 test-push-checkheads-superceed-A5.t
438 test-push-checkheads-superceed-A6.t
439 test-push-checkheads-superceed-A6.t
439 test-push-checkheads-superceed-A7.t
440 test-push-checkheads-superceed-A7.t
440 test-push-checkheads-superceed-A8.t
441 test-push-checkheads-superceed-A8.t
441 test-push-checkheads-unpushed-D1.t
442 test-push-checkheads-unpushed-D1.t
442 test-push-checkheads-unpushed-D2.t
443 test-push-checkheads-unpushed-D2.t
443 test-push-checkheads-unpushed-D3.t
444 test-push-checkheads-unpushed-D3.t
444 test-push-checkheads-unpushed-D4.t
445 test-push-checkheads-unpushed-D4.t
445 test-push-checkheads-unpushed-D5.t
446 test-push-checkheads-unpushed-D5.t
446 test-push-checkheads-unpushed-D6.t
447 test-push-checkheads-unpushed-D6.t
447 test-push-checkheads-unpushed-D7.t
448 test-push-checkheads-unpushed-D7.t
448 test-push-http.t
449 test-push-http.t
449 test-push-warn.t
450 test-push-warn.t
450 test-push.t
451 test-push.t
451 test-pushvars.t
452 test-pushvars.t
452 test-qrecord.t
453 test-qrecord.t
453 test-rebase-abort.t
454 test-rebase-abort.t
454 test-rebase-backup.t
455 test-rebase-backup.t
455 test-rebase-base-flag.t
456 test-rebase-base-flag.t
456 test-rebase-bookmarks.t
457 test-rebase-bookmarks.t
457 test-rebase-brute-force.t
458 test-rebase-brute-force.t
458 test-rebase-cache.t
459 test-rebase-cache.t
459 test-rebase-check-restore.t
460 test-rebase-check-restore.t
460 test-rebase-collapse.t
461 test-rebase-collapse.t
461 test-rebase-conflicts.t
462 test-rebase-conflicts.t
462 test-rebase-dest.t
463 test-rebase-dest.t
463 test-rebase-detach.t
464 test-rebase-detach.t
464 test-rebase-emptycommit.t
465 test-rebase-emptycommit.t
465 test-rebase-inmemory.t
466 test-rebase-inmemory.t
466 test-rebase-interruptions.t
467 test-rebase-interruptions.t
467 test-rebase-issue-noparam-single-rev.t
468 test-rebase-issue-noparam-single-rev.t
468 test-rebase-legacy.t
469 test-rebase-legacy.t
469 test-rebase-mq-skip.t
470 test-rebase-mq-skip.t
470 test-rebase-mq.t
471 test-rebase-mq.t
471 test-rebase-named-branches.t
472 test-rebase-named-branches.t
472 test-rebase-newancestor.t
473 test-rebase-newancestor.t
473 test-rebase-obsolete.t
474 test-rebase-obsolete.t
474 test-rebase-parameters.t
475 test-rebase-parameters.t
475 test-rebase-partial.t
476 test-rebase-partial.t
476 test-rebase-pull.t
477 test-rebase-pull.t
477 test-rebase-rename.t
478 test-rebase-rename.t
478 test-rebase-scenario-global.t
479 test-rebase-scenario-global.t
479 test-rebase-templates.t
480 test-rebase-templates.t
480 test-rebase-transaction.t
481 test-rebase-transaction.t
481 test-rebuildstate.t
482 test-rebuildstate.t
482 test-record.t
483 test-record.t
483 test-relink.t
484 test-relink.t
484 test-remove.t
485 test-remove.t
485 test-removeemptydirs.t
486 test-removeemptydirs.t
486 test-rename-after-merge.t
487 test-rename-after-merge.t
487 test-rename-dir-merge.t
488 test-rename-dir-merge.t
488 test-rename-merge1.t
489 test-rename-merge1.t
489 test-rename-merge2.t
490 test-rename-merge2.t
490 test-rename.t
491 test-rename.t
491 test-repair-strip.t
492 test-repair-strip.t
492 test-repo-compengines.t
493 test-repo-compengines.t
493 test-resolve.t
494 test-resolve.t
494 test-revert-flags.t
495 test-revert-flags.t
495 test-revert-interactive.t
496 test-revert-interactive.t
496 test-revert-unknown.t
497 test-revert-unknown.t
497 test-revert.t
498 test-revert.t
498 test-revisions.t
499 test-revisions.t
499 test-revlog-ancestry.py
500 test-revlog-ancestry.py
500 test-revlog-group-emptyiter.t
501 test-revlog-group-emptyiter.t
501 test-revlog-mmapindex.t
502 test-revlog-mmapindex.t
502 test-revlog-packentry.t
503 test-revlog-packentry.t
503 test-revlog-raw.py
504 test-revlog-raw.py
504 test-revlog-v2.t
505 test-revlog-v2.t
505 test-revset-dirstate-parents.t
506 test-revset-dirstate-parents.t
506 test-revset-legacy-lookup.t
507 test-revset-legacy-lookup.t
507 test-revset-outgoing.t
508 test-revset-outgoing.t
508 test-rollback.t
509 test-rollback.t
509 test-run-tests.py
510 test-run-tests.py
510 test-run-tests.t
511 test-run-tests.t
511 test-schemes.t
512 test-schemes.t
512 test-serve.t
513 test-serve.t
513 test-setdiscovery.t
514 test-setdiscovery.t
514 test-share.t
515 test-share.t
515 test-shelve.t
516 test-shelve.t
516 test-show-stack.t
517 test-show-stack.t
517 test-show-work.t
518 test-show-work.t
518 test-show.t
519 test-show.t
519 test-simple-update.t
520 test-simple-update.t
520 test-simplekeyvaluefile.py
521 test-simplekeyvaluefile.py
521 test-simplemerge.py
522 test-simplemerge.py
522 test-single-head.t
523 test-single-head.t
523 test-sparse-clear.t
524 test-sparse-clear.t
524 test-sparse-clone.t
525 test-sparse-clone.t
525 test-sparse-import.t
526 test-sparse-import.t
526 test-sparse-merges.t
527 test-sparse-merges.t
527 test-sparse-profiles.t
528 test-sparse-profiles.t
528 test-sparse-requirement.t
529 test-sparse-requirement.t
529 test-sparse-verbose-json.t
530 test-sparse-verbose-json.t
530 test-sparse.t
531 test-sparse.t
531 test-split.t
532 test-split.t
532 test-ssh-bundle1.t
533 test-ssh-bundle1.t
533 test-ssh-clone-r.t
534 test-ssh-clone-r.t
534 test-ssh-proto-unbundle.t
535 test-ssh-proto-unbundle.t
535 test-ssh-proto.t
536 test-ssh-proto.t
536 test-ssh-repoerror.t
537 test-ssh-repoerror.t
537 test-ssh.t
538 test-ssh.t
538 test-sshserver.py
539 test-sshserver.py
539 test-stack.t
540 test-stack.t
540 test-status-color.t
541 test-status-color.t
541 test-status-inprocess.py
542 test-status-inprocess.py
542 test-status-rev.t
543 test-status-rev.t
543 test-status-terse.t
544 test-status-terse.t
544 test-storage.py
545 test-storage.py
545 test-stream-bundle-v2.t
546 test-stream-bundle-v2.t
546 test-strict.t
547 test-strict.t
547 test-strip-cross.t
548 test-strip-cross.t
548 test-strip.t
549 test-strip.t
549 test-subrepo-deep-nested-change.t
550 test-subrepo-deep-nested-change.t
550 test-subrepo-missing.t
551 test-subrepo-missing.t
551 test-subrepo-paths.t
552 test-subrepo-paths.t
552 test-subrepo-recursion.t
553 test-subrepo-recursion.t
553 test-subrepo-relative-path.t
554 test-subrepo-relative-path.t
554 test-subrepo.t
555 test-subrepo.t
555 test-symlink-os-yes-fs-no.py
556 test-symlink-os-yes-fs-no.py
556 test-symlink-placeholder.t
557 test-symlink-placeholder.t
557 test-symlinks.t
558 test-symlinks.t
558 test-tag.t
559 test-tag.t
559 test-tags.t
560 test-tags.t
560 test-template-basic.t
561 test-template-basic.t
561 test-template-functions.t
562 test-template-functions.t
562 test-template-keywords.t
563 test-template-keywords.t
563 test-template-map.t
564 test-template-map.t
564 test-transplant.t
565 test-transplant.t
565 test-treemanifest.t
566 test-treemanifest.t
566 test-ui-color.py
567 test-ui-color.py
567 test-ui-config.py
568 test-ui-config.py
568 test-ui-verbosity.py
569 test-ui-verbosity.py
569 test-unamend.t
570 test-unamend.t
570 test-unbundlehash.t
571 test-unbundlehash.t
571 test-uncommit.t
572 test-uncommit.t
572 test-unified-test.t
573 test-unified-test.t
573 test-unionrepo.t
574 test-unionrepo.t
574 test-unrelated-pull.t
575 test-unrelated-pull.t
575 test-up-local-change.t
576 test-up-local-change.t
576 test-update-branches.t
577 test-update-branches.t
577 test-update-dest.t
578 test-update-dest.t
578 test-update-issue1456.t
579 test-update-issue1456.t
579 test-update-names.t
580 test-update-names.t
580 test-update-reverse.t
581 test-update-reverse.t
581 test-upgrade-repo.t
582 test-upgrade-repo.t
582 test-url-download.t
583 test-url-download.t
583 test-url-rev.t
584 test-url-rev.t
584 test-url.py
585 test-url.py
585 test-username-newline.t
586 test-username-newline.t
586 test-util.py
587 test-util.py
587 test-verify.t
588 test-verify.t
588 test-walk.t
589 test-walk.t
589 test-walkrepo.py
590 test-walkrepo.py
590 test-websub.t
591 test-websub.t
591 test-win32text.t
592 test-win32text.t
592 test-wireproto-clientreactor.py
593 test-wireproto-clientreactor.py
593 test-wireproto-command-branchmap.t
594 test-wireproto-command-branchmap.t
594 test-wireproto-command-changesetdata.t
595 test-wireproto-command-changesetdata.t
595 test-wireproto-command-filedata.t
596 test-wireproto-command-filedata.t
596 test-wireproto-command-filesdata.t
597 test-wireproto-command-filesdata.t
597 test-wireproto-command-heads.t
598 test-wireproto-command-heads.t
598 test-wireproto-command-listkeys.t
599 test-wireproto-command-listkeys.t
599 test-wireproto-command-lookup.t
600 test-wireproto-command-lookup.t
600 test-wireproto-command-manifestdata.t
601 test-wireproto-command-manifestdata.t
601 test-wireproto-command-pushkey.t
602 test-wireproto-command-pushkey.t
602 test-wireproto-framing.py
603 test-wireproto-framing.py
603 test-wireproto-serverreactor.py
604 test-wireproto-serverreactor.py
604 test-wireproto.py
605 test-wireproto.py
605 test-wsgirequest.py
606 test-wsgirequest.py
606 test-xdg.t
607 test-xdg.t
@@ -1,82 +1,82 b''
1 # closehead.py - Close arbitrary heads without checking them out first
1 # closehead.py - Close arbitrary heads without checking them out first
2 #
2 #
3 # This software may be used and distributed according to the terms of the
3 # This software may be used and distributed according to the terms of the
4 # GNU General Public License version 2 or any later version.
4 # GNU General Public License version 2 or any later version.
5
5
6 '''close arbitrary heads without checking them out first'''
6 '''close arbitrary heads without checking them out first'''
7
7
8 from __future__ import absolute_import
8 from __future__ import absolute_import
9
9
10 from mercurial.i18n import _
10 from mercurial.i18n import _
11 from mercurial import (
11 from mercurial import (
12 bookmarks,
12 bookmarks,
13 cmdutil,
13 cmdutil,
14 context,
14 context,
15 error,
15 error,
16 pycompat,
16 pycompat,
17 registrar,
17 registrar,
18 scmutil,
18 scmutil,
19 )
19 )
20
20
21 cmdtable = {}
21 cmdtable = {}
22 command = registrar.command(cmdtable)
22 command = registrar.command(cmdtable)
23 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
23 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
25 # be specifying the version(s) of Mercurial they are tested with, or
25 # be specifying the version(s) of Mercurial they are tested with, or
26 # leave the attribute unspecified.
26 # leave the attribute unspecified.
27 testedwith = 'ships-with-hg-core'
27 testedwith = 'ships-with-hg-core'
28
28
29 commitopts = cmdutil.commitopts
29 commitopts = cmdutil.commitopts
30 commitopts2 = cmdutil.commitopts2
30 commitopts2 = cmdutil.commitopts2
31 commitopts3 = [('r', 'rev', [],
31 commitopts3 = [('r', 'rev', [],
32 _('revision to check'), _('REV'))]
32 _('revision to check'), _('REV'))]
33
33
34 @command('close-head|close-heads', commitopts + commitopts2 + commitopts3,
34 @command('close-head|close-heads', commitopts + commitopts2 + commitopts3,
35 _('[OPTION]... [REV]...'), inferrepo=True)
35 _('[OPTION]... [REV]...'), inferrepo=True)
36 def close_branch(ui, repo, *revs, **opts):
36 def close_branch(ui, repo, *revs, **opts):
37 """close the given head revisions
37 """close the given head revisions
38
38
39 This is equivalent to checking out each revision in a clean tree and running
39 This is equivalent to checking out each revision in a clean tree and running
40 ``hg commit --close-branch``, except that it doesn't change the working
40 ``hg commit --close-branch``, except that it doesn't change the working
41 directory.
41 directory.
42
42
43 The commit message must be specified with -l or -m.
43 The commit message must be specified with -l or -m.
44 """
44 """
45 def docommit(rev):
45 def docommit(rev):
46 cctx = context.memctx(repo, parents=[rev, None], text=message,
46 cctx = context.memctx(repo, parents=[rev, None], text=message,
47 files=[], filectxfn=None, user=opts.get('user'),
47 files=[], filectxfn=None, user=opts.get('user'),
48 date=opts.get('date'), extra=extra)
48 date=opts.get('date'), extra=extra)
49 tr = repo.transaction('commit')
49 tr = repo.transaction('commit')
50 ret = repo.commitctx(cctx, True)
50 ret = repo.commitctx(cctx, True)
51 bookmarks.update(repo, [rev, None], ret)
51 bookmarks.update(repo, [rev, None], ret)
52 cctx.markcommitted(ret)
52 cctx.markcommitted(ret)
53 tr.close()
53 tr.close()
54
54
55 opts = pycompat.byteskwargs(opts)
55 opts = pycompat.byteskwargs(opts)
56
56
57 revs += tuple(opts.get('rev', []))
57 revs += tuple(opts.get('rev', []))
58 revs = scmutil.revrange(repo, revs)
58 revs = scmutil.revrange(repo, revs)
59
59
60 if not revs:
60 if not revs:
61 raise error.Abort(_('no revisions specified'))
61 raise error.Abort(_('no revisions specified'))
62
62
63 heads = []
63 heads = []
64 for branch in repo.branchmap():
64 for branch in repo.branchmap():
65 heads.extend(repo.branchheads(branch))
65 heads.extend(repo.branchheads(branch))
66 heads = set(repo[h].rev() for h in heads)
66 heads = set(repo[h].rev() for h in heads)
67 for rev in revs:
67 for rev in revs:
68 if rev not in heads:
68 if rev not in heads:
69 raise error.Abort(_('revision is not an open head: %s') % rev)
69 raise error.Abort(_('revision is not an open head: %d') % rev)
70
70
71 message = cmdutil.logmessage(ui, opts)
71 message = cmdutil.logmessage(ui, opts)
72 if not message:
72 if not message:
73 raise error.Abort(_("no commit message specified with -l or -m"))
73 raise error.Abort(_("no commit message specified with -l or -m"))
74 extra = { 'close': '1' }
74 extra = { 'close': '1' }
75
75
76 with repo.wlock(), repo.lock():
76 with repo.wlock(), repo.lock():
77 for rev in revs:
77 for rev in revs:
78 r = repo[rev]
78 r = repo[rev]
79 branch = r.branch()
79 branch = r.branch()
80 extra['branch'] = branch
80 extra['branch'] = branch
81 docommit(r)
81 docommit(r)
82 return 0
82 return 0
General Comments 0
You need to be logged in to leave comments. Login now