D4170: linelog: fix bytes/str issue in exception raise on Python 3

Yuya Nishihara yuya at tcha.org
Thu Aug 9 10:37:51 EDT 2018


Queued, thanks.

>              raise LineLogError(
> -                'Probably hit an infinite loop in linelog. Program:\n' +
> +                r'Probably hit an infinite loop in linelog. Program:\n' +
>                  self.debugstr())

I assume LineLogError is a kind of a ProgrammingError. If it's a user-facing
error, we'll have to convert a message to bytes.


More information about the Mercurial-devel mailing list