diff contrib/dirstatenonnormalcheck.py @ 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 2372284d9457
children 35295f5a5b9f
line wrap: on
line diff