##// END OF EJS Templates
test-clone: f1c2de22b8a8 lost changes from b1ae33b813cb
Martin Geisler -
r11839:8c034517 default
parent child Browse files
Show More
@@ -431,13 +431,19 b' Testing issue2267:'
431
431
432 $ rm -r ua
432 $ rm -r ua
433
433
434 cat <<EOF > branchclone.py
434 $ cat <<EOF > branchclone.py
435 from mercurial import ui, hg
435 > from mercurial import ui, hg
436 myui = ui.ui()
436 > myui = ui.ui()
437 repo = hg.repository(myui, 'a')
437 > repo = hg.repository(myui, 'a')
438 hg.clone(myui, repo, dest="ua", branch=["stable",])
438 > hg.clone(myui, repo, dest="ua", branch=["stable",])
439 EOF
439 > EOF
440
440
441 python branchclone.py
441 $ python branchclone.py
442 rm -r ua
442 requesting all changes
443
443 adding changesets
444 adding manifests
445 adding file changes
446 added 14 changesets with 14 changes to 3 files
447 updating to branch stable
448 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
449 $ rm -r ua
General Comments 0
You need to be logged in to leave comments. Login now