D2472: pycompat: prevent encoding or decoding values if not required

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Tue Feb 27 16:50:53 EST 2018


indygreg added a comment.


  I agree with @yuja here. I think we should strive to convert URLs to bytes (like most other internal types). Although I do realize that lots of stdlib code has... expectations. Is there a particular test failure you are tracking down with this fix? I've kind of got a lot of the wire protocol code paged in right now. I could potentially offer some advice.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2472

To: pulkit, #hg-reviewers, yuja
Cc: indygreg, yuja, mercurial-devel


More information about the Mercurial-devel mailing list