Mercurial > hg
comparison tests/test-clone.t @ 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 | f1c2de22b8a8 |
children | 4134686b83e1 |
comparison
equal
deleted
inserted
replaced
11838:d4bfa07f269f | 11839:8c034517b406 |
---|---|
429 updating to branch default | 429 updating to branch default |
430 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | 430 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
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 |