D4170: linelog: fix bytes/str issue in exception raise on Python 3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Aug 9 14:17:30 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4170
AFFECTED FILES
mercurial/linelog.py
CHANGE DETAILS
diff --git a/mercurial/linelog.py b/mercurial/linelog.py
--- a/mercurial/linelog.py
+++ b/mercurial/linelog.py
@@ -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
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list