D8091: py3: fully fix bundlepart.__repr__ to return str not bytes

2020-02-07 Thread spectral (Kyle Lippincott)
Closed by commit rHG74172a234dd3: py3: fully fix bundlepart.__repr__ to return str not bytes (authored by spectral). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D8091: py3: fully fix bundlepart.__repr__ to return str not bytes

2020-02-07 Thread marmoute (Pierre-Yves David)
marmoute added a comment. marmoute accepted this revision. I guess we could build the string, and then turn it into a bytes. That seems simple enough to be worth doing. Howevr you are fixing a bug here and as you poitned out, this `__repr__` is not really important. So you get a stamp.

D8091: py3: fully fix bundlepart.__repr__ to return str not bytes

2020-02-06 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY My previous fix did not fully fix the issue: it would attempt to use %-formatting to combine two strs into a bytes, which won't work. Let's just switch the