comparison tests/test-clone.t @ 32940:75be14993fda

cleanup: use $PYTHON to run python in many more tests Spotted one of these, then wrote a check-code rule that caught them all. It will be the next change.
author Augie Fackler <augie@google.com>
date Tue, 20 Jun 2017 09:45:02 -0400
parents 53a67ba9fb44
children 2428e8ec0793
comparison
equal deleted inserted replaced
32939:cad62cb3c84c 32940:75be14993fda
522 > myui = ui.ui.load() 522 > myui = ui.ui.load()
523 > repo = hg.repository(myui, 'a') 523 > repo = hg.repository(myui, 'a')
524 > hg.clone(myui, {}, repo, dest="ua") 524 > hg.clone(myui, {}, repo, dest="ua")
525 > EOF 525 > EOF
526 526
527 $ python simpleclone.py 527 $ $PYTHON simpleclone.py
528 updating to branch default 528 updating to branch default
529 3 files updated, 0 files merged, 0 files removed, 0 files unresolved 529 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
530 530
531 $ rm -r ua 531 $ rm -r ua
532 532
536 > extensions.loadall(myui) 536 > extensions.loadall(myui)
537 > repo = hg.repository(myui, 'a') 537 > repo = hg.repository(myui, 'a')
538 > hg.clone(myui, {}, repo, dest="ua", branch=["stable",]) 538 > hg.clone(myui, {}, repo, dest="ua", branch=["stable",])
539 > EOF 539 > EOF
540 540
541 $ python branchclone.py 541 $ $PYTHON branchclone.py
542 adding changesets 542 adding changesets
543 adding manifests 543 adding manifests
544 adding file changes 544 adding file changes
545 added 14 changesets with 14 changes to 3 files 545 added 14 changesets with 14 changes to 3 files
546 updating to branch stable 546 updating to branch stable