D3633: py3: use bytes in tests/printenv.py

2018-05-24 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Looks like this needs to be dropped because due to this couple of tests which were already passing failed. Link to buildbot: https://buildbot.mercurial-scm.org/builders/py3%20tests/builds/920/steps/run-tests.py%20%28python3%29/logs/stdio REPOSITORY rHG Mercurial

D3633: py3: use bytes in tests/printenv.py

2018-05-21 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbacbe829c2bf: py3: use bytes in tests/printenv.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3633?vs=8841=8858 REVISION

D3633: py3: use bytes in tests/printenv.py

2018-05-21 Thread indygreg (Gregory Szorc)
indygreg accepted this revision. indygreg added a comment. This revision is now accepted and ready to land. This one worries me a bit because environment variable values can contain non-ASCII. However, the changed code only operates on `HG_` variables and I //think// those variables are

D3633: py3: use bytes in tests/printenv.py

2018-05-20 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch add b'' prefixes and adds some .encode() calls to convert str to bytes on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL