Mercurial > hg
diff mercurial/linelog.py @ 38962:70a19e804deb
linelog: fix bytes/str issue in exception raise on Python 3
Differential Revision: https://phab.mercurial-scm.org/D4170
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 09 Aug 2018 10:10:09 -0400 |
parents | 27a54096c92e |
children | 32b1967b8734 |
line wrap: on
line diff
--- 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