debugcommands: extract debuginstall in the debugcommands module
#!/bin/sh# This scripts is used to install dependencies for# testing Mercurial. Mainly used by Vagrant (see# Vagrantfile for details).export DEBIAN_FRONTEND=noninteractiveapt-get updateapt-get install -y -q python-dev unzip# run-tests.sh is added by Vagrantfilechmod +x run-tests.sh