D1557: py3: use pycompat.bytestr() to convert string to bytes

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Nov 30 07:28:53 EST 2017


yuja requested changes to this revision.
yuja added a comment.
This revision now requires changes to proceed.


  The result of `strftime()` has to be converted back to local string
  by `.encode('ascii')` or `encoding.strtolocal()`.
  
  See util.parsedate() for details.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list