# HG changeset patch # User Augie Fackler # Date 1297899391 21600 # Node ID 0b1bbc46516ea3a022f5b9e3893525d7f951b10d # Parent 5a5bd76144012d2b86cc5466038086ed0b9f7120 bookmarks: verify switching bookmarks works properly diff -r 5a5bd7614401 -r 0b1bbc46516e tests/test-bookmarks-current.t --- 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