D2295: py3: get bytes-repr of network errors portably

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Feb 17 04:43:10 EST 2018


pulkit added a comment.


  For converting error messages to bytes, util.forcebytestr() is preferred. https://phab.mercurial-scm.org/D2269#inline-5791

INLINE COMMENTS

> request.py:125
> +            self.server_write = self._start_response(
> +                pycompat.sysstr(status), self.headers)
>              self._start_response = None

This one looks like an unrelated change.

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list