Fix remaining unicode issues in MercurialClient.get_commit_history.
Review Request #11138 — Created Aug. 12, 2020 and submitted — Latest diff uploaded
The formatting fix I did earlier did work, but exposed more issues in
theget_commit_history
method. Instead of juggling between bytes and
unicode strings here, it makes sense to do everything just in
unicode-land. The reason we had any bytestrings here was probably just
some over-eager changes when we did the initial porting work.
Added a new unit test which now passes on both Python 2.x and 3.x.