Mercurial > hg
diff tests/test-bookmarks.t @ 39304:fc54a290b4b0
bookmarks: adjust exception type so present(bookmark(.)) works as expected
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 25 Aug 2018 20:19:27 +0900 |
parents | 1eb370761fa0 |
children | 89630d0b3e23 |
line wrap: on
line diff
--- a/tests/test-bookmarks.t Sat Aug 25 20:16:28 2018 +0900 +++ b/tests/test-bookmarks.t Sat Aug 25 20:19:27 2018 +0900 @@ -172,12 +172,9 @@ $ hg bookmark --inactive $ hg log -r 'bookmark(.)' - abort: no active bookmark + abort: no active bookmark! [255] -BUG: this should be resolved to an empty set: $ hg log -r 'present(bookmark(.))' - abort: no active bookmark - [255] $ hg log -r 'bookmark(unknown)' abort: bookmark 'unknown' does not exist! @@ -263,7 +260,7 @@ $ hg book rename-me $ hg book -i rename-me $ hg book -m . renamed - abort: no active bookmark + abort: no active bookmark! [255] $ hg up -q Y $ hg book -d rename-me @@ -283,7 +280,7 @@ $ hg book delete-me $ hg book -i delete-me $ hg book -d . - abort: no active bookmark + abort: no active bookmark! [255] $ hg up -q Y $ hg book -d delete-me