[PATCH STABLE] win32mbcs: make pycompat.bytestr return byte-str for color effect int value

Yuya Nishihara yuya at tcha.org
Thu May 25 09:34:29 EDT 2017


On Thu, 25 May 2017 01:26:10 +0900, FUJIWARA Katsunori wrote:
> At Wed, 24 May 2017 23:54:55 +0900,
> Yuya Nishihara wrote:
> > 
> > On Tue, 23 May 2017 01:35:41 +0900, FUJIWARA Katsunori wrote:
> > > # HG changeset patch
> > > # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> > > # Date 1495466652 -32400
> > > #      Tue May 23 00:24:12 2017 +0900
> > > # Branch stable
> > > # Node ID 39457bf6db5f7c546ab6d5a75e33ae6ded5fc0dd
> > > # Parent  99515353c72a4c54e4aac1a2ad4f8f724c7fdc9c
> > > win32mbcs: make pycompat.bytestr return byte-str for color effect int value
> > 
> > bytestr() may accept arbitrary objects that can be converted to str. Perhaps
> > we'll need to add a stub function (say util._filenamebytestr = bytestr) and
> > wrap it instead?
> > 
> 
> OK, I'll revise this.

Thanks.

> BTW, is "_" prefix needed for stub name ?

I prefer a prefixed name since it's just a workaround for win32mbcs.


More information about the Mercurial-devel mailing list