contrib/vagrant/provision.sh
author Pulkit Goyal <7895pulkit@gmail.com>
Sat, 10 Oct 2020 13:19:25 +0530
changeset 45708 60c46cc28bf4
parent 21874 8da01b6e7b49
permissions -rw-r--r--
commit: pass ChangingFiles object as argument to _process_files Instead of returning it, we pass it as an argument. This makes the whole if-else in `_prepare_files` a bit simpler. Else each if-else branch was creating the object. Differential Revision: https://phab.mercurial-scm.org/D9194

#!/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