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

login
register
mail settings
Submitter Kevin Bullock
Date Feb. 9, 2013, 5:54 p.m.
Message ID <501b0d5829a15fbf4d79.1360432472@s0-0.paconsult7.bbnplanet.net>
Download mbox | patch
Permalink /patch/901/
State Accepted
Commit 7da487b0256a8ecf8ebe30a75be79df07baca506
Headers show

Comments

Kevin Bullock - Feb. 9, 2013, 5:54 p.m.
# HG changeset patch
# User Kevin Bullock <kbullock@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.

Patch

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