Mercurial > hg-stable
changeset 46083: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 | c581b9ee22b1 |
children | 81c1f5d1801f |
files | hgext/share.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/share.py Tue Dec 08 23:01:24 2020 +0100 +++ b/hgext/share.py Wed Dec 09 09:54:49 2020 -0800 @@ -47,8 +47,7 @@ .. container:: verbose - Sharing requirements and configs of source repository with shares - ----------------------------------------------------------------- + Sharing requirements and configs of source repository with shares: By default creating a shared repository only enables sharing a common history and does not share requirements and configs between them. This