D5768: subrepo: bytes/str cleanups on Git support

Yuya Nishihara yuya at tcha.org
Thu Jan 31 07:49:26 EST 2019


> -        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?


More information about the Mercurial-devel mailing list