Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
5d69a0a2
Commit
5d69a0a2
authored
3 years ago
by
Raphaël Gomès
Browse files
Options
Downloads
Patches
Plain Diff
internals: correct dirstate-v2 format variable in the documentation
Differential Revision:
https://phab.mercurial-scm.org/D11745
parent
6505d390
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mercurial/helptext/internals/dirstate-v2.txt
+5
-5
5 additions, 5 deletions
mercurial/helptext/internals/dirstate-v2.txt
with
5 additions
and
5 deletions
mercurial/helptext/internals/dirstate-v2.txt
+
5
−
5
View file @
5d69a0a2
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment