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

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Wed May 24 12:26:10 EDT 2017


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.

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

-- 
----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list