changeset 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 19344143b3e1
children 467b5c1df72d
files mercurial/linelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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