comparison mercurial/helptext/config.txt @ 48771:79a967128055

dirstate-tracked-key: update the config value to match latest discussion Special cases are not special enough, we align the option name on the other. The `version` value is undocumented for now as it can only have a single value. It is supported in the code to properly detect and abort if more value are introduced in the future value. Differential Revision: https://phab.mercurial-scm.org/D12184
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 15 Feb 2022 05:20:46 +0100
parents 3199b575375d
children 8bbb1abb9d19
comparison
equal deleted inserted replaced
48770:f19be290756a 48771:79a967128055
942 --config format.use-dirstate-v2=False \ 942 --config format.use-dirstate-v2=False \
943 --config storage.dirstate-v2.slow-path=allow 943 --config storage.dirstate-v2.slow-path=allow
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 ``exp-dirstate-tracked-key-version`` 947 ``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 950
950 That "tracked-key" can help external automations to detect changes to the 951 That "tracked-key" can help external automations to detect changes to the
951 set of tracked files. 952 set of tracked files.
952
953 Two values are currently supported:
954 - 0: no file is written (the default),
955 - 1: a file in version "1" is written.
956 953
957 The tracked-key is written in a new `.hg/dirstate-tracked-key`. That file 954 The tracked-key is written in a new `.hg/dirstate-tracked-key`. That file
958 contains two lines: 955 contains two lines:
959 - the first line is the file version (currently: 1), 956 - the first line is the file version (currently: 1),
960 - the second line contains the "tracked-key". 957 - the second line contains the "tracked-key".