This is an archive of the discontinued Mercurial Phabricator instance.

error: ensure ProgrammingError message is always a str
ClosedPublic

Authored by durin42 on Sep 12 2018, 11:40 AM.

Details

Summary

Since this error is internal-only and a runtime error, let's give it a
treatment that makes it behave identically when repr()d on both Python
2 and Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Sep 12 2018, 11:40 AM
pulkit accepted this revision.Sep 12 2018, 11:44 AM
durin42 updated this revision to Diff 10958.Sep 12 2018, 12:24 PM
This revision was automatically updated to reflect the committed changes.