Skip to content
Snippets Groups Projects
Commit 5d69a0a2 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

internals: correct dirstate-v2 format variable in the documentation

Differential Revision: https://phab.mercurial-scm.org/D11745
parent 6505d390
No related branches found
No related tags found
No related merge requests found
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
------------------------------------------------ ------------------------------------------------
When creating a new local repository such as with `hg init` or `hg clone`, 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. controls whether to use this file format.
This is disabled by default as of this writing. This is disabled by default as of this writing.
To enable it for a single repository, run for example:: To enable it for a single repository, run for example::
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
controls whether to use this file format. controls whether to use this file format.
This is disabled by default as of this writing. This is disabled by default as of this writing.
To enable it for a single repository, run for example:: 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 Checking the format of an existing local repsitory
-------------------------------------------------- --------------------------------------------------
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
The `debugupgrade` command does various upgrades or downgrades The `debugupgrade` command does various upgrades or downgrades
on a local repository on a local repository
based on the current Mercurial version and on configuration. 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:: Example to upgrade::
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
Example to upgrade:: 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`:: Example to downgrade to `dirstate-v1`::
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
Example to downgrade to `dirstate-v1`:: 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, Both of this commands do nothing but print a list of proposed changes,
which may include changes unrelated to the dirstate. which may include changes unrelated to the dirstate.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment