[Updated] D11745: internals: correct dirstate-v2 format variable in the documentation
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Wed Nov 10 19:58:25 UTC 2021
Closed by commit rHG5d69a0a23f5b: internals: correct dirstate-v2 format variable in the documentation (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11745?vs=31048&id=31053
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11745/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11745
AFFECTED FILES
mercurial/helptext/internals/dirstate-v2.txt
CHANGE DETAILS
diff --git a/mercurial/helptext/internals/dirstate-v2.txt b/mercurial/helptext/internals/dirstate-v2.txt
--- a/mercurial/helptext/internals/dirstate-v2.txt
+++ b/mercurial/helptext/internals/dirstate-v2.txt
@@ -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.
To: Alphare, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211110/03abef2b/attachment-0002.html>
More information about the Mercurial-patches
mailing list