##// END OF EJS Templates
doc: improves the share-safe documentation...
marmoute -
r47075:60e6bf3b stable
parent child Browse files
Show More
@@ -913,8 +913,27 b' https://www.mercurial-scm.org/wiki/Missi'
913 913 Disabled by default.
914 914
915 915 ``use-share-safe``
916 Enable or disable the "share-safe" functionality, which enables shares
917 to read requirements and configuration of its source repository.
916 Enforce "safe" behaviors for all "shares" that access this repository.
917
918 With this feature, "shares" using this repository as a source will:
919
920 * read the source repository's configuration (`<source>/.hg/hgrc`).
921 * read and use the source repository's "requirements"
922 (except the working copy specific one).
923
924 Without this feature, "shares" using this repository as a source will:
925
926 * keep tracking the repository "requirements" in the share only, ignoring
927 the source "requirements", possibly diverging from them.
928 * ignore source repository config. This can create problems, like silently
929 ignoring important hooks.
930
931 Beware that existing shares will not be upgraded/downgraded, and by
932 default, Mercurial will refuse to interact with them until the mismatch
933 is resolved. See :hg:`help config share.safe-mismatch.source-safe` and
934 :hg:`help config share.safe-mismatch.source-not-safe` for details.
935
936 Introduced in Mercurial 5.7.
918 937
919 938 Disabled by default.
920 939
General Comments 0
You need to be logged in to leave comments. Login now