Commit Graph

10 Commits

Author SHA1 Message Date
Pulkit Goyal
0d9925c2cd py3: add tests to show hg bookmarks and hg branches work on Python 3 2017-06-24 19:55:41 +05:30
Pulkit Goyal
a3ad6c7f7e py3: use python3 hg in test-py3-commands.t at places where py2 hg was used
This patch fixes my mistakes where I added test in test-py3-commands.t as
`hg ...` where I forgot hg here refers to Python 2 mercurial.
2017-06-13 01:23:54 +05:30
Pulkit Goyal
0f2add9f8b py3: add test to show hg update and hg identify works on Python 3 2017-06-01 02:41:19 +05:30
Pulkit Goyal
51e63cb94e py3: add a test to show hg diff works on Python 3 2017-06-02 10:14:00 +05:30
Yuya Nishihara
8840d7ead5 py3: implement __bytes__() on most of our exception classes
We store bytes in exc.args, which should be translated to a byte string
without encode/decode dance.

IOError subclasses are unchanged for now. We'll need to decide how our
IOErrors should be caught.
2017-06-01 22:43:24 +09:00
Yuya Nishihara
9e4fbd65c4 py3: convert __doc__ back to bytes in help.py
pycompat.getdoc() is pretty simple, but we wouldn't want to write handling
of None inline.
2017-06-01 22:24:15 +09:00
Augie Fackler
5eec184f61 py3: update test expectations for py3-commands test 2017-05-28 17:02:24 -04:00
Pulkit Goyal
ea7e6a3f17 py3: add test to show 'hg log -Tjson' works 2017-05-04 04:57:30 +05:30
Pulkit Goyal
01925f1150 py3: add test to show 'hg log -G' works 2017-05-04 04:52:03 +05:30
Pulkit Goyal
012c1e9684 py3: rename test-check-py3-commands.t to test-py3-commands.t
test-check-*.t is a set of tests which tests certain coding style checks. So
this test was wrongly named, thanks to marmoute for pointing this out.
2017-05-04 04:42:05 +05:30