Mercurial > hg
diff contrib/python3-whitelist @ 43458:117b41b1859d stable
py3: compare response of crecord's confirmationwindow with str
confirmationwindow() returns a native string, as a result of calling
chr() on getch(). On Python 3, response.lower().startswith(b"y") leads
to a TypeError.
This fixes a crash when typing "r" in the curses interface of
interactive commit.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Wed, 06 Nov 2019 17:12:13 +0100 |
parents | a7abc6081bc5 |
children | 609a3b8058c3 |