D4545: error: ensure ProgrammingError message is always a str

2018-09-12 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG921aeb9ac508: error: ensure ProgrammingError message is always a str (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4545: error: ensure ProgrammingError message is always a str

2018-09-12 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 10958. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4545?vs=10953=10958 REVISION DETAIL https://phab.mercurial-scm.org/D4545 AFFECTED FILES mercurial/error.py CHANGE DETAILS diff --git a/mercurial/error.py

D4545: error: ensure ProgrammingError message is always a str

2018-09-12 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION 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.