comparison hgext/share.py @ 46082:c80f9e3daec3

share: remove unexpected heading from "verbose" container in help test `test-gendoc-*.t` have been failing for me since 91425656e2b1 (share: add documentation about share-safe mode in `hg help -e share`, 2020-11-27) with this kind of output: ``` --- /usr/local/google/home/martinvonz/hg/tests/test-gendoc-ru.t +++ /usr/local/google/home/martinvonz/hg/tests/test-gendoc-ru.t.err @@ -2,3 +2,9 @@ $ $TESTDIR/check-gendoc ru checking for parse errors + gendoc.txt:12818: (SEVERE/4) Unexpected section title. + + Sharing requirements and configs of source repository with shares + ----------------------------------------------------------------- + Exiting due to level-4 (SEVERE) system message. + [1] ``` This patch fixes that. Differential Revision: https://phab.mercurial-scm.org/D9552
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 09 Dec 2020 09:54:49 -0800
parents 91425656e2b1
children d4ba4d51f85f
comparison
equal deleted inserted replaced
46078:c581b9ee22b1 46082:c80f9e3daec3
45 45
46 The default naming mode is "identity". 46 The default naming mode is "identity".
47 47
48 .. container:: verbose 48 .. container:: verbose
49 49
50 Sharing requirements and configs of source repository with shares 50 Sharing requirements and configs of source repository with shares:
51 -----------------------------------------------------------------
52 51
53 By default creating a shared repository only enables sharing a common 52 By default creating a shared repository only enables sharing a common
54 history and does not share requirements and configs between them. This 53 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 54 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 55 storage format from one repository but does not set related configs