linelog: fix bytes/str issue in exception raise on Python 3
authorAugie Fackler <augie@google.com>
Thu, 09 Aug 2018 10:10:09 -0400
changeset 39000 70a19e804deb
parent 38999 19344143b3e1
child 39001 467b5c1df72d
linelog: fix bytes/str issue in exception raise on Python 3 Differential Revision: https://phab.mercurial-scm.org/D4170
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