tests/test-releasenotes-formatting.t
changeset 34340 741a511492d3
parent 33940 2a37459aedf2
child 34404 159a6f7e09a9
--- a/tests/test-releasenotes-formatting.t	Tue Sep 26 03:56:20 2017 -0700
+++ b/tests/test-releasenotes-formatting.t	Thu Sep 28 13:22:58 2017 +0530
@@ -420,3 +420,17 @@
   fix: Bug Fixes
   perf: Performance Improvements
   api: API Changes
+
+  $ cd ..
+
+Raise error on simultaneous usage of flags
+
+  $ hg init relnotes-raise-error
+  $ cd relnotes-raise-error
+  $ hg releasenotes -r . -l
+  abort: cannot use both '--list' and '--rev'
+  [255]
+
+  $ hg releasenotes -l -c
+  abort: cannot use both '--list' and '--check'
+  [255]