Mercurial > hg-stable
changeset 13433:0b1bbc46516e stable
bookmarks: verify switching bookmarks works properly
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 17:36:31 -0600 |
parents | 5a5bd7614401 |
children | b5cc838dd999 |
files | tests/test-bookmarks-current.t |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bookmarks-current.t Thu Feb 17 09:20:44 2011 +0100 +++ b/tests/test-bookmarks-current.t Wed Feb 16 17:36:31 2011 -0600 @@ -66,6 +66,17 @@ * Y 0:719295282060 Z -1:000000000000 +Verify that switching to Z updates the current bookmark: + $ hg update Z + 0 files updated, 0 files merged, 1 files removed, 0 files unresolved + $ hg bookmark + Y 0:719295282060 + * Z -1:000000000000 + +Switch back to Y for the remaining tests in this file: + $ hg update Y + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + delete bookmarks $ hg bookmark -d Y