Mercurial > public > mercurial-scm > hg-stable
diff tests/test-releasenotes-formatting.t @ 36778:a5891e94bfe1
releasenotes: allow notes for multiple directives in a single changeset
This problem was caught in da91e7309daf8ffc51bf3e6f4b2d8a16ef5af95a. This patch just makes sure there is no warning when we
encounter such a case.
Differential Revision: https://phab.mercurial-scm.org/D2254
author | Rishabh Madan <rishabhmadan96@gmail.com> |
---|---|
date | Sun, 04 Mar 2018 00:25:58 +0530 |
parents | 159a6f7e09a9 |
children | df470e764770 |
line wrap: on
line diff
--- a/tests/test-releasenotes-formatting.t Sun Mar 04 00:15:35 2018 +0530 +++ b/tests/test-releasenotes-formatting.t Sun Mar 04 00:25:58 2018 +0530 @@ -457,3 +457,35 @@ ------------------ First paragraph of fix 1. + + $ cd .. + +Using multiple admonitions in same changeset + + $ hg init relnotes-multiadmon + $ cd relnotes-multiadmon + + $ touch file1 + $ hg -q commit -A -l - << EOF + > commit 1 + > + > .. feature:: + > + > Details about new feature. + > + > .. perf:: + > + > Improves the execution by 2x + > EOF + + $ hg releasenotes -r . $TESTTMP/relnotes-multiple-admonitions + $ cat $TESTTMP/relnotes-multiple-admonitions + New Features + ============ + + * Details about new feature. + + Performance Improvements + ======================== + + * Improves the execution by 2x