changeset 11839:8c034517b406

test-clone: f1c2de22b8a8 lost changes from b1ae33b813cb
author Martin Geisler <mg@aragost.com>
date Fri, 13 Aug 2010 11:12:37 +0200
parents d4bfa07f269f
children d59a623cc4c9
files tests/test-clone.t
diffstat 1 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clone.t	Fri Aug 13 10:53:10 2010 +0200
+++ b/tests/test-clone.t	Fri Aug 13 11:12:37 2010 +0200
@@ -431,13 +431,19 @@
 
   $ rm -r ua
 
-cat <<EOF > branchclone.py
-from mercurial import ui, hg
-myui = ui.ui()
-repo = hg.repository(myui, 'a')
-hg.clone(myui, repo, dest="ua", branch=["stable",])
-EOF
+  $ cat <<EOF > branchclone.py
+  > from mercurial import ui, hg
+  > myui = ui.ui()
+  > repo = hg.repository(myui, 'a')
+  > hg.clone(myui, repo, dest="ua", branch=["stable",])
+  > EOF
 
-python branchclone.py
-rm -r ua
-
+  $ python branchclone.py
+  requesting all changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 14 changesets with 14 changes to 3 files
+  updating to branch stable
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ rm -r ua