D7181: py3: make chistedit render

Martin von Zweigbergk martinvonz at google.com
Fri Nov 1 10:33:34 EDT 2019


Feel free to do that in flight. Otherwise I'll do it later today.

It won't matter in practice. We should of course have a separate method
explicitly for creating a line instead. But that's not for stable.

On Fri, Nov 1, 2019, 06:42 yuja (Yuya Nishihara) <
phabricator at mercurial-scm.org> wrote:

> yuja added a comment.
>
>
>   > +        return b"#%s %s %d:%s   %s" % ((b'%d' %
> self.origpos).ljust(2),
>   > +                                       action.ljust(6), r, h, desc)
>   > +
>   > +    __bytes__ = __str__
>
>   `__str__ = encoding.strmethod(__bytes__)` can be used instead. `__str__`
>   of Python3 must return unicode string.
>
> REPOSITORY
>   rHG Mercurial
>
> CHANGES SINCE LAST ACTION
>   https://phab.mercurial-scm.org/D7181/new/
>
> REVISION DETAIL
>   https://phab.mercurial-scm.org/D7181
>
> To: martinvonz, durin42, #hg-reviewers
> Cc: yuja, indygreg, mercurial-devel
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20191101/062824f0/attachment.html>


More information about the Mercurial-devel mailing list