##// END OF EJS Templates
docs: add missing dirstate-v2 documentation...
Raphaël Gomès -
r49365:5e7a0348 stable
parent child Browse files
Show More
@@ -892,6 +892,35 b' https://www.mercurial-scm.org/wiki/Missi'
892
892
893 Enabled by default.
893 Enabled by default.
894
894
895 ``exp-rc-dirstate-v2``
896 Enable or disable the experimental "dirstate-v2" feature. The dirstate
897 functionality is shared by all commands interacting with the working copy.
898 The new version is more robust, faster and stores more information.
899
900 The performance-improving version of this feature is currently only
901 implemented in Rust (see :hg:`help rust`), so people not using a version of
902 Mercurial compiled with the Rust parts might actually suffer some slowdown.
903 For this reason, such versions will by default refuse to access repositories
904 with "dirstate-v2" enabled.
905
906 This behavior can be adjusted via configuration: check
907 :hg:`help config.storage.dirstate-v2.slow-path` for details.
908
909 Repositories with this on-disk format require Mercurial 6.0 or above.
910
911 By default this format variant is disabled if the fast implementation is not
912 available, and enabled by default if the fast implementation is available.
913
914 To accomodate installations of Mercurial without the fast implementation,
915 you can downgrade your repository. To do so run the following command:
916
917 $ hg debugupgraderepo \
918 --run \
919 --config format.exp-rc-dirstate-v2=False \
920 --config storage.dirstate-v2.slow-path=allow
921
922 For a more comprehensive guide, see :hg:`help internals.dirstate-v2`.
923
895 ``use-persistent-nodemap``
924 ``use-persistent-nodemap``
896 Enable or disable the "persistent-nodemap" feature which improves
925 Enable or disable the "persistent-nodemap" feature which improves
897 performance if the rust extensions are available.
926 performance if the rust extensions are available.
General Comments 0
You need to be logged in to leave comments. Login now