Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG70a19e804deb: linelog: fix bytes/str issue in exception raise on Python 3
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Queued, thanks.
raise LineLogError(
- 'Probably hit an infinite loop in linelog. Program:\n' +
+ r'Probably hit an infinite loop in linelog. Program:\n' +
self.debugstr())
I assume LineLogError is a kind of a ProgrammingError. If it's a user-facing
error, we'll have to convert a message to bytes.
Comment Actions
I assume LineLogError is a kind of a ProgrammingError. If it's a user-facing
error, we'll have to convert a message to bytes.
Yep - it should never happen (barring misuse of the API or woefully corrupt linelog files).