Patchwork D9552: share: remove unexpected heading from "verbose" container in help test

login
register
mail settings
Submitter phabricator
Date Dec. 9, 2020, 5:59 p.m.
Message ID <differential-rev-PHID-DREV-mqhn4iat3rbdhmagau6d-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47848/
State Superseded
Headers show

Comments

phabricator - Dec. 9, 2020, 5:59 p.m.
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  `test-gendoc-*.t` have been failing for me since 91425656e2b1 <https://phab.mercurial-scm.org/rHG91425656e2b128495dd6e8cbea6f3b434e897e45> (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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9552

AFFECTED FILES
  hgext/share.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/hgext/share.py b/hgext/share.py
--- a/hgext/share.py
+++ b/hgext/share.py
@@ -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