diff tests/test-clone.t @ 17882:36ed69d4593d stable

clone: show status "updating to bookmark @" if bookmark @ is not on the default branch, we show updating to bookmark @ on branch <name>
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 29 Oct 2012 14:02:30 +0100
parents 603d4fbad36d
children 720308f741cb
line wrap: on
line diff
--- a/tests/test-clone.t	Sun Oct 28 14:16:16 2012 +0100
+++ b/tests/test-clone.t	Mon Oct 29 14:02:30 2012 +0100
@@ -507,10 +507,20 @@
   $ cd a
   $ hg bookmark -r a7949464abda @  # branch point of stable from default
   $ hg clone . ../i
-  updating to branch default
+  updating to bookmark @
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg id -i ../i
   a7949464abda
+  $ rm -r ../i
+
+  $ hg bookmark -f -r stable @
+  $ hg bookmarks
+     @                         15:0aae7cf88f0d
+  $ hg clone . ../i
+  updating to bookmark @ on branch stable
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg id -i ../i
+  0aae7cf88f0d
   $ cd "$TESTTMP"