tests/test-clone.t
changeset 11839 8c034517b406
parent 11823 f1c2de22b8a8
child 12316 4134686b83e1
--- 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