Bug 3351 - wrong indentation on cacert help section
Summary: wrong indentation on cacert help section
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 12:45 UTC by Wagner Bruna
Modified: 2012-05-13 04:54 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wagner Bruna 2012-04-03 12:45 UTC
Compare:

hg help config | grep -A 30 '"cacerts"'

with

grep -A 30 '``cacerts``' mercurial/help/config.txt

Tested with hg 2.1.2, but it seems to happen at least since 1.9.

Some debugging info: the literal block ending detection code expects an
indentation equal or less than the last non-literal block. But for the
following sequence:

``name``
  description::

    literal

  another paragraph

the first block actually has indentation 0, so "another paragraph" ends up
being considered as part of the literal block.
Comment 1 HG Bot 2012-04-12 20:00 UTC
Fixed by http://selenic.com/repo/hg/rev/7416ce2c7887
Matt Mackall <mpm@selenic.com>
help: fix indentation on cacert (issue3350)

(please test the fix)
Comment 2 Bugzilla 2012-05-12 09:29 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:29 EDT  ---

This bug was previously known as _bug_ 3350 at http://mercurial.selenic.com/bts/issue3350