comparison tests/test-transplant.t @ 22947:c63a09b6b337

tests: use $PYTHON instead of hardcoding python This makes running the testsuite with pypy possible.
author Augie Fackler <raf@durin42.com>
date Wed, 15 Oct 2014 15:35:59 -0400
parents 9ab18a912c44
children 501dc6b1ca78
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
666 666
667 $ hg init twin2 667 $ hg init twin2
668 $ cd twin2 668 $ cd twin2
669 $ echo '[patch]' >> .hg/hgrc 669 $ echo '[patch]' >> .hg/hgrc
670 $ echo 'eol = crlf' >> .hg/hgrc 670 $ echo 'eol = crlf' >> .hg/hgrc
671 $ python -c "file('b', 'wb').write('b\r\nb\r\n')" 671 $ $PYTHON -c "file('b', 'wb').write('b\r\nb\r\n')"
672 $ hg ci -Am addb 672 $ hg ci -Am addb
673 adding b 673 adding b
674 $ hg transplant -s ../twin1 tip 674 $ hg transplant -s ../twin1 tip
675 searching for changes 675 searching for changes
676 warning: repository is unrelated 676 warning: repository is unrelated