diff tests/test-bookmarks-current.t @ 39754:c48738923dba

bookmarks: remove --active in favor of --list It's weird that we have both --active and --inactive options meaning completely different things. Instead of adding a one-off option, let's document the way to display the active bookmark by using -l/--list. No deprecated option is added since --active isn't released yet.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 15 Sep 2018 12:47:49 +0900
parents 337443f09fc8
children 95c4cca641f6
line wrap: on
line diff
--- a/tests/test-bookmarks-current.t	Sat Sep 15 12:44:23 2018 +0900
+++ b/tests/test-bookmarks-current.t	Sat Sep 15 12:47:49 2018 +0900
@@ -240,8 +240,9 @@
   - Y
   - 
 
-  $ hg bookmarks --active
+  $ hg bookmarks -ql .
   Y
   $ hg bookmarks --inactive
-  $ hg bookmarks --active
-  [1]
+  $ hg bookmarks -ql .
+  abort: no active bookmark!
+  [255]