Show More
@@ -1279,13 +1279,13 b' coreconfigitem(' | |||||
1279 | ) |
|
1279 | ) | |
1280 | coreconfigitem( |
|
1280 | coreconfigitem( | |
1281 | b'format', |
|
1281 | b'format', | |
1282 | b'dirstate-tracked-key', |
|
1282 | b'use-dirstate-tracked-key', | |
1283 | default=False, |
|
1283 | default=False, | |
1284 | experimental=True, |
|
1284 | experimental=True, | |
1285 | ) |
|
1285 | ) | |
1286 | coreconfigitem( |
|
1286 | coreconfigitem( | |
1287 | b'format', |
|
1287 | b'format', | |
1288 | b'dirstate-tracked-key.version', |
|
1288 | b'use-dirstate-tracked-key.version', | |
1289 | default=1, |
|
1289 | default=1, | |
1290 | experimental=True, |
|
1290 | experimental=True, | |
1291 | ) |
|
1291 | ) |
@@ -944,7 +944,7 b' https://www.mercurial-scm.org/wiki/Missi' | |||||
944 |
|
944 | |||
945 | For a more comprehensive guide, see :hg:`help internals.dirstate-v2`. |
|
945 | For a more comprehensive guide, see :hg:`help internals.dirstate-v2`. | |
946 |
|
946 | |||
947 | ``dirstate-tracked-key`` |
|
947 | ``use-dirstate-tracked-key`` | |
948 | Enable or disable the writing of "tracked key" file alongside the dirstate. |
|
948 | Enable or disable the writing of "tracked key" file alongside the dirstate. | |
949 | (default to disabled) |
|
949 | (default to disabled) | |
950 |
|
950 |
@@ -3695,10 +3695,10 b' def newreporequirements(ui, createopts):' | |||||
3695 | else: |
|
3695 | else: | |
3696 | requirements.add(requirementsmod.SHARED_REQUIREMENT) |
|
3696 | requirements.add(requirementsmod.SHARED_REQUIREMENT) | |
3697 |
|
3697 | |||
3698 | if ui.configbool(b'format', b'dirstate-tracked-key'): |
|
3698 | if ui.configbool(b'format', b'use-dirstate-tracked-key'): | |
3699 | version = ui.configint(b'format', b'dirstate-tracked-key.version') |
|
3699 | version = ui.configint(b'format', b'use-dirstate-tracked-key.version') | |
3700 | msg = _("ignoring unknown tracked key version: %d\n") |
|
3700 | msg = _("ignoring unknown tracked key version: %d\n") | |
3701 |
hint = _("see `hg help config.format.e |
|
3701 | hint = _("see `hg help config.format.use-dirstate-tracked-key-version") | |
3702 | if version != 1: |
|
3702 | if version != 1: | |
3703 | ui.warn(msg % version, hint=hint) |
|
3703 | ui.warn(msg % version, hint=hint) | |
3704 | else: |
|
3704 | else: |
@@ -1599,7 +1599,7 b' Separate sections from subsections' | |||||
1599 |
|
1599 | |||
1600 | "use-dirstate-v2" |
|
1600 | "use-dirstate-v2" | |
1601 |
|
1601 | |||
1602 | "dirstate-tracked-key" |
|
1602 | "use-dirstate-tracked-key" | |
1603 |
|
1603 | |||
1604 | "use-persistent-nodemap" |
|
1604 | "use-persistent-nodemap" | |
1605 |
|
1605 |
@@ -9,7 +9,7 b' basic setup' | |||||
9 |
|
9 | |||
10 | $ cat << EOF >> $HGRCPATH |
|
10 | $ cat << EOF >> $HGRCPATH | |
11 | > [format] |
|
11 | > [format] | |
12 | > dirstate-tracked-key=yes |
|
12 | > use-dirstate-tracked-key=yes | |
13 | > EOF |
|
13 | > EOF | |
14 |
|
14 | |||
15 | $ hg init tracked-key-test |
|
15 | $ hg init tracked-key-test | |
@@ -172,7 +172,7 b' Test upgrade and downgrade' | |||||
172 |
|
172 | |||
173 | downgrade |
|
173 | downgrade | |
174 |
|
174 | |||
175 | $ hg debugupgraderepo --config format.dirstate-tracked-key=no --run --quiet |
|
175 | $ hg debugupgraderepo --config format.use-dirstate-tracked-key=no --run --quiet | |
176 | upgrade will perform the following actions: |
|
176 | upgrade will perform the following actions: | |
177 |
|
177 | |||
178 | requirements |
|
178 | requirements | |
@@ -189,7 +189,7 b' downgrade' | |||||
189 |
|
189 | |||
190 | upgrade |
|
190 | upgrade | |
191 |
|
191 | |||
192 | $ hg debugupgraderepo --config format.dirstate-tracked-key=yes --run --quiet |
|
192 | $ hg debugupgraderepo --config format.use-dirstate-tracked-key=yes --run --quiet | |
193 | upgrade will perform the following actions: |
|
193 | upgrade will perform the following actions: | |
194 |
|
194 | |||
195 | requirements |
|
195 | requirements |
General Comments 0
You need to be logged in to leave comments.
Login now