diff tests/test-releasenotes-formatting.t @ 33940:2a37459aedf2

releasenotes: view admonition titles using -l flag Since this extension is fairly new for almost all the contributors, remembering the admonition (with titles) is difficult. The list (-l) flag provides a list of all the active admonitions along with titles. For usage, hg releasenotes -l returns the list. Differential Revision: https://phab.mercurial-scm.org/D454
author Rishabh Madan <rishabhmadan96@gmail.com>
date Mon, 28 Aug 2017 04:11:58 +0530
parents 6a49c74b1e8f
children 741a511492d3
line wrap: on
line diff
--- a/tests/test-releasenotes-formatting.t	Sat Aug 26 16:00:07 2017 -0700
+++ b/tests/test-releasenotes-formatting.t	Mon Aug 28 04:11:58 2017 +0530
@@ -407,3 +407,16 @@
   $ hg releasenotes -r . -c
   Invalid admonition 'fixes' present in changeset 0e7130d2705c
   (did you mean fix?)
+
+  $ cd ..
+
+Usage of --list flag
+
+  $ hg init relnotes-list
+  $ cd relnotes-list
+  $ hg releasenotes -l
+  feature: New Features
+  bc: Backwards Compatibility Changes
+  fix: Bug Fixes
+  perf: Performance Improvements
+  api: API Changes