D4170: linelog: fix bytes/str issue in exception raise on Python 3

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Aug 9 10:38:43 EDT 2018


yuja added a comment.


  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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4170

To: durin42, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list