##// END OF EJS Templates
share: add documentation about share-safe mode in `hg help -e share`...
Pulkit Goyal -
r47006:91425656 default
parent child Browse files
Show More
@@ -44,6 +44,26 b' The following ``share.`` config options '
44 that was cloned before.
44 that was cloned before.
45
45
46 The default naming mode is "identity".
46 The default naming mode is "identity".
47
48 .. container:: verbose
49
50 Sharing requirements and configs of source repository with shares
51 -----------------------------------------------------------------
52
53 By default creating a shared repository only enables sharing a common
54 history and does not share requirements and configs between them. This
55 may lead to problems in some cases, for example when you upgrade the
56 storage format from one repository but does not set related configs
57 in the shares.
58
59 Setting `format.exp-share-safe = True` enables sharing configs and
60 requirements. This only applies to shares which are done after enabling
61 the config option.
62
63 For enabling this in existing shares, enable the config option and reshare.
64
65 For resharing existing shares, make sure your working directory is clean
66 and there are no untracked files, delete that share and create a new share.
47 '''
67 '''
48
68
49 from __future__ import absolute_import
69 from __future__ import absolute_import
General Comments 0
You need to be logged in to leave comments. Login now