tests/test-clone.t
changeset 11823 f1c2de22b8a8
parent 11818 b1ae33b813cb
parent 11806 fd66a181f575
child 11839 8c034517b406
--- a/tests/test-clone.t	Thu Aug 12 18:30:06 2010 +0200
+++ b/tests/test-clone.t	Thu Aug 12 18:30:24 2010 +0200
@@ -431,3 +431,13 @@
 
   $ 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
+
+python branchclone.py
+rm -r ua
+