contrib/vagrant/provision.sh
author Denis Laxalde <denis@laxalde.org>
Wed, 18 Oct 2017 19:00:33 +0200
changeset 34904 4554649a6ea4
parent 21874 8da01b6e7b49
permissions -rw-r--r--
log: handle binary files in --line-range patterns When a file is binary patch.trydiff() would yield None for 'hunkrange'. Handle this case in the hunksfilter() callback. Add tests with and without diff.git option as binary handling differs depending on this option's value.

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