py3: make sure __repr__ returns str
No test fails but I found it while debugging test-commit-interactive-curses.t
failure.
# skip-blame because just r'' prefix
Differential Revision: https://phab.mercurial-scm.org/D5878
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors