py3: make sure __repr__ returns str

Authored by pulkit.

Description

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

Details

Committed
pulkitFeb 7 2019, 8:43 AM
Differential Revision
D5878: py3: make sure __repr__ returns str
Parents
rHG7c4e205f71ca: py3: use bytes.startswith() instead of comparing with bytes[0]
Branches
Unknown
Tags
Unknown