[PATCH 1 of 3] summary: test that current bookmark isn't shown

Kevin Bullock kbullock+mercurial at ringworld.org
Sat Feb 9 11:54:32 CST 2013


# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1360359163 0
# Node ID 501b0d5829a15fbf4d79c665c280ae4f7898ecfe
# Parent  46edbc49a9f213dd9c78e4dbaa8809661058bb07
summary: test that current bookmark isn't shown

This exposes the current behavior in a test. A later change will make
summary show when the active bookmark has moved out from under us.

diff --git a/tests/test-bookmarks.t b/tests/test-bookmarks.t
--- a/tests/test-bookmarks.t
+++ b/tests/test-bookmarks.t
@@ -467,6 +467,13 @@ create bundle with two heads
 
 update to current bookmark if it's not the parent
 
+  $ hg summary
+  parent: 2:db815d6d32e6 
+   2
+  branch: default
+  bookmarks: Y x  y
+  commit: 1 added, 1 unknown (new branch head)
+  update: 2 new changesets (update)
   $ hg update
   updating to active bookmark Z
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved


More information about the Mercurial-devel mailing list