[PATCH 3 of 4 V2] py3: use pycompat.bytestr instead of bytes

Yuya Nishihara yuya at tcha.org
Fri May 5 06:08:49 EDT 2017


On Fri, 05 May 2017 04:10:17 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1493927809 -19800
> #      Fri May 05 01:26:49 2017 +0530
> # Node ID c442d698765059a6afa6db3361844e3cc8709d7d
> # Parent  40e57ce475231ba494c8c0a9cf8f0278411d0c38
> py3: use pycompat.bytestr instead of bytes

> @@ -2038,6 +2039,7 @@
>      False
>      """
>  
> +    date = pycompat.bytestr(date)

This one should have no effect since we do date.strip() soon. Dropped this
chunk and queued the others, thanks.


More information about the Mercurial-devel mailing list