# HG changeset patch # User Augie Fackler # Date 1533823809 14400 # Node ID 70a19e804deb0b6320a26db4db524b92a658cf21 # Parent 19344143b3e1149caf4ffc821b8f1db765b0dc7f linelog: fix bytes/str issue in exception raise on Python 3 Differential Revision: https://phab.mercurial-scm.org/D4170 diff -r 19344143b3e1 -r 70a19e804deb mercurial/linelog.py --- a/mercurial/linelog.py Thu Aug 09 13:13:00 2018 +0200 +++ b/mercurial/linelog.py Thu Aug 09 10:10:09 2018 -0400 @@ -371,7 +371,7 @@ executed += 1 if pc is not None: raise LineLogError( - 'Probably hit an infinite loop in linelog. Program:\n' + + r'Probably hit an infinite loop in linelog. Program:\n' + self.debugstr()) ar = annotateresult(rev, lines, lastpc) self._lastannotate = ar