diff tests/test-ssh.t @ 13604:3f6a4579f803

hg: add support for cloning bookmarks
author David Soria Parra <dsp@php.net>
date Sun, 13 Mar 2011 12:24:17 +0100
parents 07a6460f829a
children 4f5ed2bd1724
line wrap: on
line diff
--- a/tests/test-ssh.t	Sat Mar 12 18:29:02 2011 +0100
+++ b/tests/test-ssh.t	Sun Mar 13 12:24:17 2011 +0100
@@ -263,6 +263,22 @@
   summary:     z
   
 
+clone bookmarks
+
+  $ hg -R ../remote bookmark test
+  $ hg -R ../remote bookmarks
+   * test                      2:6c0482d977a3
+  $ hg clone -e "python ../dummyssh" ssh://user@dummy/remote local-bookmarks
+  requesting all changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 4 changesets with 5 changes to 4 files (+1 heads)
+  updating to branch default
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg -R local-bookmarks bookmarks
+     test                      2:6c0482d977a3
+
 passwords in ssh urls are not supported
 
   $ hg push ssh://user:erroneouspwd@dummy/remote
@@ -289,3 +305,4 @@
   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
   Got arguments 1:user@dummy 2:hg -R remote serve --stdio
+  Got arguments 1:user@dummy 2:hg -R remote serve --stdio