Mercurial > hg
comparison tests/test-completion.t @ 47815:b30a53ffbf9b stable
debugcommands: introduce a debug command to repair repos affected by issue6528
This command is quite basic and slow, it will loop over the entirety of the
filelogs in the repository and check each revision for corruption, then fixes
the affected filelogs. It takes under 25 minutes for Mozilla-Central on my
not-top-of-the-line laptop, using the `--to-report` and `--from-report` options
will make this pretty tolerable to use, I think.
This change also introduces a test for the fix.
Differential Revision: https://phab.mercurial-scm.org/D11239
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 27 Jul 2021 21:45:27 +0200 |
parents | 284a20269a97 |
children | 855463b5fe49 |
comparison
equal
deleted
inserted
replaced
47814:3b04e4746020 | 47815:b30a53ffbf9b |
---|---|
72 $ hg debugcomplete d | 72 $ hg debugcomplete d |
73 diff | 73 diff |
74 | 74 |
75 Show debug commands if there are no other candidates | 75 Show debug commands if there are no other candidates |
76 $ hg debugcomplete debug | 76 $ hg debugcomplete debug |
77 debug-repair-issue6528 | |
77 debugancestor | 78 debugancestor |
78 debugantivirusrunning | 79 debugantivirusrunning |
79 debugapplystreamclonebundle | 80 debugapplystreamclonebundle |
80 debugbackupbundle | 81 debugbackupbundle |
81 debugbuilddag | 82 debugbuilddag |
264 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure | 265 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure |
265 commit: addremove, close-branch, amend, secret, edit, force-close-branch, interactive, include, exclude, message, logfile, date, user, subrepos | 266 commit: addremove, close-branch, amend, secret, edit, force-close-branch, interactive, include, exclude, message, logfile, date, user, subrepos |
266 config: untrusted, exp-all-known, edit, local, source, shared, non-shared, global, template | 267 config: untrusted, exp-all-known, edit, local, source, shared, non-shared, global, template |
267 continue: dry-run | 268 continue: dry-run |
268 copy: forget, after, at-rev, force, include, exclude, dry-run | 269 copy: forget, after, at-rev, force, include, exclude, dry-run |
270 debug-repair-issue6528: to-report, from-report, dry-run | |
269 debugancestor: | 271 debugancestor: |
270 debugantivirusrunning: | 272 debugantivirusrunning: |
271 debugapplystreamclonebundle: | 273 debugapplystreamclonebundle: |
272 debugbackupbundle: recover, patch, git, limit, no-merges, stat, graph, style, template | 274 debugbackupbundle: recover, patch, git, limit, no-merges, stat, graph, style, template |
273 debugbuilddag: mergeable-file, overwritten-file, new-file | 275 debugbuilddag: mergeable-file, overwritten-file, new-file |