changeset 48320:5d69a0a23f5b stable

internals: correct dirstate-v2 format variable in the documentation Differential Revision: https://phab.mercurial-scm.org/D11745
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 10 Nov 2021 10:58:13 +0100
parents 6505d3902eac
children f35529784079
files mercurial/helptext/internals/dirstate-v2.txt
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/helptext/internals/dirstate-v2.txt	Wed Nov 10 10:50:54 2021 +0100
+++ b/mercurial/helptext/internals/dirstate-v2.txt	Wed Nov 10 10:58:13 2021 +0100
@@ -37,12 +37,12 @@
 ------------------------------------------------
 
 When creating a new local repository such as with `hg init` or `hg clone`,
-the `exp-dirstate-v2` boolean in the `format` configuration section
+the `exp-rc-dirstate-v2` boolean in the `format` configuration section
 controls whether to use this file format.
 This is disabled by default as of this writing.
 To enable it for a single repository, run for example::
 
-    $ hg init my-project --config format.exp-dirstate-v2=1
+    $ hg init my-project --config format.exp-rc-dirstate-v2=1
 
 Checking the format of an existing local repsitory
 --------------------------------------------------
@@ -63,15 +63,15 @@
 The `debugupgrade` command does various upgrades or downgrades
 on a local repository
 based on the current Mercurial version and on configuration.
-The same `format.exp-dirstate-v2` configuration is used again.
+The same `format.exp-rc-dirstate-v2` configuration is used again.
 
 Example to upgrade::
 
-    $ hg debugupgrade --config format.exp-dirstate-v2=1
+    $ hg debugupgrade --config format.exp-rc-dirstate-v2=1
 
 Example to downgrade to `dirstate-v1`::
 
-    $ hg debugupgrade --config format.exp-dirstate-v2=0
+    $ hg debugupgrade --config format.exp-rc-dirstate-v2=0
 
 Both of this commands do nothing but print a list of proposed changes,
 which may include changes unrelated to the dirstate.