diff -r 98645c1bfeaa -r a3fdc4fcb7d2 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Jul 19 18:40:20 2022 -0400 +++ b/mercurial/debugcommands.py Tue Jul 26 04:54:59 2022 +0200 @@ -1187,7 +1187,7 @@ The local peer can be "replaced" by a subset of the local repository by using the `--local-as-revs` flag. Int he same way, usual `remote` peer can be "replaced" by a subset of the local repository using the - `--local-as-revs` flag. This is useful to efficiently debug pathological + `--remote-as-revs` flag. This is useful to efficiently debug pathological discovery situation. The following developer oriented config are relevant for people playing with this command: