[PATCH 10 of 10 lazy-changelog-parse] changelog: return raw user and description values

Yuya Nishihara yuya at tcha.org
Wed Mar 9 08:45:30 EST 2016


On Sun, 06 Mar 2016 15:58:56 -0800, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1457308188 28800
> #      Sun Mar 06 15:49:48 2016 -0800
> # Node ID 342631fb10a19f4a2a132975fc5a1cdf728335e8
> # Parent  d1a19a190175f7fd17a37a2a97e5969e8cd8b9a4
> changelog: return raw user and description values

>      @property
>      def user(self):
>          off = self._offsets
> -        return encoding.tolocal(self._text[off[0] + 1:off[1]])
> +        return self._text[off[0] + 1:off[1]]

Should it be call as "uuser", "u8user" or "useru8" to avoid future bug?


More information about the Mercurial-devel mailing list