diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -630,6 +630,7 @@ test-revset-dirstate-parents.t test-revset-legacy-lookup.t test-revset-outgoing.t +test-revset2.t test-rollback.t test-run-tests.py test-run-tests.t diff --git a/tests/test-revset2.t b/tests/test-revset2.t --- a/tests/test-revset2.t +++ b/tests/test-revset2.t @@ -1525,8 +1525,8 @@ $ hg init problematicencoding $ cd problematicencoding - $ "$PYTHON" > setup.sh < print(u''' + $ "$PYTHON" < open('setup.sh', 'wb').write(u''' > echo a > text > hg add text > hg --encoding utf-8 commit -u '\u30A2' -m none @@ -1541,8 +1541,8 @@ $ sh < setup.sh test in problematic encoding - $ "$PYTHON" > test.sh < print(u''' + $ "$PYTHON" < open('test.sh', 'wb').write(u''' > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30A2)' > echo ==== > hg --encoding cp932 log --template '{rev}\\n' -r 'author(\u30C2)'