diff tests/test-clone.t @ 17756:92980a8dfdfe

clone: update to @ bookmark if it exists
author Kevin Bullock <kbullock@ringworld.org>
date Wed, 21 Mar 2012 16:53:39 -0500
parents e7cfe3587ea4
children c79b404b99ae
line wrap: on
line diff
--- a/tests/test-clone.t
+++ b/tests/test-clone.t
@@ -468,6 +468,16 @@
   $ rm -r ua
 
 
+Test clone with special '@' bookmark:
+  $ cd a
+  $ hg bookmark -r a7949464abda @  # branch point of stable from default
+  $ hg clone . ../i
+  updating to branch default
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg id -i ../i
+  a7949464abda
+
+
 Testing failures:
 
   $ mkdir fail