diff tests/test-bookmarks.t @ 39768:2d478b05fb14

bookmarks: reject --delete with --inactive which makes no sense A deleted bookmark is neither active nor inactive.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Sep 2018 12:34:13 +0900
parents 89630d0b3e23
children b05b4b91de3d
line wrap: on
line diff
--- a/tests/test-bookmarks.t	Sat Sep 15 12:32:01 2018 +0900
+++ b/tests/test-bookmarks.t	Sat Sep 15 12:34:13 2018 +0900
@@ -327,6 +327,12 @@
   abort: bookmark 'A' does not exist
   [255]
 
+delete with --inactive
+
+  $ hg bookmark -d --inactive Y
+  abort: --inactive is incompatible with --delete
+  [255]
+
 bookmark name with spaces should be stripped
 
   $ hg bookmark ' x  y '