contrib/vagrant/provision.sh
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 06 Nov 2019 17:12:13 +0100
branchstable
changeset 43458 117b41b1859d
parent 21874 8da01b6e7b49
permissions -rw-r--r--
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.

#!/bin/sh
# This scripts is used to install dependencies for
# testing Mercurial. Mainly used by Vagrant (see
# Vagrantfile for details).

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y -q python-dev unzip
# run-tests.sh is added by Vagrantfile
chmod +x run-tests.sh