Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
39753:b05b4b91de3d | 39754:c48738923dba |
---|---|
238 - Y | 238 - Y |
239 - | 239 - |
240 - Y | 240 - Y |
241 - | 241 - |
242 | 242 |
243 $ hg bookmarks --active | 243 $ hg bookmarks -ql . |
244 Y | 244 Y |
245 $ hg bookmarks --inactive | 245 $ hg bookmarks --inactive |
246 $ hg bookmarks --active | 246 $ hg bookmarks -ql . |
247 [1] | 247 abort: no active bookmark! |
248 [255] |