##// END OF EJS Templates
py3: have test-revset2.t write test scripts in a more portable way...
Augie Fackler -
r41618:4caf56c3 default
parent child Browse files
Show More
@@ -630,6 +630,7 b' test-revlog.t'
630 630 test-revset-dirstate-parents.t
631 631 test-revset-legacy-lookup.t
632 632 test-revset-outgoing.t
633 test-revset2.t
633 634 test-rollback.t
634 635 test-run-tests.py
635 636 test-run-tests.t
@@ -1525,8 +1525,8 b' test author/desc/keyword in problematic '
1525 1525 $ hg init problematicencoding
1526 1526 $ cd problematicencoding
1527 1527
1528 $ "$PYTHON" > setup.sh <<EOF
1529 > print(u'''
1528 $ "$PYTHON" <<EOF
1529 > open('setup.sh', 'wb').write(u'''
1530 1530 > echo a > text
1531 1531 > hg add text
1532 1532 > hg --encoding utf-8 commit -u '\u30A2' -m none
@@ -1541,8 +1541,8 b' test author/desc/keyword in problematic '
1541 1541 $ sh < setup.sh
1542 1542
1543 1543 test in problematic encoding
1544 $ "$PYTHON" > test.sh <<EOF
1545 > print(u'''
1544 $ "$PYTHON" <<EOF
1545 > open('test.sh', 'wb').write(u'''
1546 1546 > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30A2)'
1547 1547 > echo ====
1548 1548 > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30C2)'
General Comments 0
You need to be logged in to leave comments. Login now