[PATCH 1 of 1] bookmarks: verify switching bookmarks works properly
Augie Fackler
durin42 at gmail.com
Wed Feb 16 18:07:41 CST 2011
# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1297899391 21600
# Branch stable
# Node ID 5d449a4836afb618da4250be3a9829a75865b947
# Parent ed720c7cc97d329b943d299075e898cb40c29ab2
bookmarks: verify switching bookmarks works properly
diff --git a/tests/test-bookmarks-current.t b/tests/test-bookmarks-current.t
--- a/tests/test-bookmarks-current.t
+++ b/tests/test-bookmarks-current.t
@@ -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
More information about the Mercurial-devel
mailing list