Mercurial > forks > mercurial
changeset 53249:436206092518 stable
help: fix invalid debugupgraderepo commands after reflow
Mercurial recently got some new cases where a user might end up with
repositories that can't be handled by older Mercurial versions or by a
Mercurial without rust extensions.
Some help for these cases was added in 6d79894d3460 and 5e7a0348acf8. The help
text source contains `hg` commands with `\` escape at end of line. They were
however not marked up correctly as pre-formatted and would be line-wrapped and
suggest invalid commands.
Fixed by proper RST markup with `::` and indentation.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 03 Apr 2025 17:14:52 +0200 |
parents | 4ac82bcae209 |
children | a498a90c2455 |
files | mercurial/helptext/config.txt |
diffstat | 1 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/helptext/config.txt Mon Jan 13 14:03:36 2025 +0100 +++ b/mercurial/helptext/config.txt Thu Apr 03 17:14:52 2025 +0200 @@ -941,12 +941,12 @@ available, and enabled by default if the fast implementation is available. To accomodate installations of Mercurial without the fast implementation, - you can downgrade your repository. To do so run the following command: - - $ hg debugupgraderepo \ - --run \ - --config format.use-dirstate-v2=False \ - --config storage.dirstate-v2.slow-path=allow + you can downgrade your repository. To do so run the following command:: + + $ hg debugupgraderepo \ + --run \ + --config format.use-dirstate-v2=False \ + --config storage.dirstate-v2.slow-path=allow For a more comprehensive guide, see :hg:`help internals.dirstate-v2`. @@ -1058,12 +1058,12 @@ available, and enabled by default if the fast implementation is available. To accomodate installations of Mercurial without the fast implementation, - you can downgrade your repository. To do so run the following command: - - $ hg debugupgraderepo \ - --run \ - --config format.use-persistent-nodemap=False \ - --config storage.revlog.persistent-nodemap.slow-path=allow + you can downgrade your repository. To do so run the following command:: + + $ hg debugupgraderepo \ + --run \ + --config format.use-persistent-nodemap=False \ + --config storage.revlog.persistent-nodemap.slow-path=allow ``use-share-safe`` Enforce "safe" behaviors for all "shares" that access this repository.