Changeset View
Changeset View
Standalone View
Standalone View
mercurial/debugcommands.py
Show First 20 Lines • Show All 1489 Lines • ▼ Show 20 Line(s) | def debug_repair_issue6528(ui, repo, **opts): | ||||
<ascii-hex of the affected revision>,... <unencoded filelog index filename> | <ascii-hex of the affected revision>,... <unencoded filelog index filename> | ||||
``` | ``` | ||||
There can be multiple broken revisions per filelog, they are separated by | There can be multiple broken revisions per filelog, they are separated by | ||||
a comma with no spaces. The only space is between the revision(s) and the | a comma with no spaces. The only space is between the revision(s) and the | ||||
filename. | filename. | ||||
Note that this does *not* mean that this repairs future affected revisions, | Note that this does *not* mean that this repairs future affected revisions, | ||||
that needs a separate fix at the exchange level that hasn't been written yet | that needs a separate fix at the exchange level that was introduced in | ||||
(as of 5.9rc0). | Mercurial 5.9.1. | ||||
There is a `--paranoid` flag to test that the fast implementation is correct | There is a `--paranoid` flag to test that the fast implementation is correct | ||||
by checking it against the slow implementation. Since this matter is quite | by checking it against the slow implementation. Since this matter is quite | ||||
urgent and testing every edge-case is probably quite costly, we use this | urgent and testing every edge-case is probably quite costly, we use this | ||||
method to test on large repositories as a fuzzing method of sorts. | method to test on large repositories as a fuzzing method of sorts. | ||||
""" | """ | ||||
cmdutil.check_incompatible_arguments( | cmdutil.check_incompatible_arguments( | ||||
opts, 'to_report', ['from_report', 'dry_run'] | opts, 'to_report', ['from_report', 'dry_run'] | ||||
▲ Show 20 Lines • Show All 3425 Lines • Show Last 20 Lines |