comparison tests/test-releasenotes-formatting.t @ 36770: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
comparison
equal deleted inserted replaced
36769:3fff6f30bd7f 36770:a5891e94bfe1
455 455
456 Title of First Fix 456 Title of First Fix
457 ------------------ 457 ------------------
458 458
459 First paragraph of fix 1. 459 First paragraph of fix 1.
460
461 $ cd ..
462
463 Using multiple admonitions in same changeset
464
465 $ hg init relnotes-multiadmon
466 $ cd relnotes-multiadmon
467
468 $ touch file1
469 $ hg -q commit -A -l - << EOF
470 > commit 1
471 >
472 > .. feature::
473 >
474 > Details about new feature.
475 >
476 > .. perf::
477 >
478 > Improves the execution by 2x
479 > EOF
480
481 $ hg releasenotes -r . $TESTTMP/relnotes-multiple-admonitions
482 $ cat $TESTTMP/relnotes-multiple-admonitions
483 New Features
484 ============
485
486 * Details about new feature.
487
488 Performance Improvements
489 ========================
490
491 * Improves the execution by 2x