D5768: subrepo: bytes/str cleanups on Git support

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Jan 31 07:55:40 EST 2019


yuja added a comment.


  > - retdata = p.stdout.read().strip() +        retdata = pycompat.fsencode(p.stdout.read().strip())
  
  Curious why subprocess output can be a unicode. Is it a sort of text-mode
  stream?

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list