Mercurial > hg
view contrib/vagrant/provision.sh @ 28954:f97a0bcfd7a1
templater: separate function to create templater from map file (API)
New frommapfile() function will make it clear when template aliases will be
loaded. They should be applied to command arguments and templates in hgrc,
but not to map files. Otherwise, our stock styles and web templates
(i.e map-file templates) could be modified unintentionally.
Future patches will add "aliases" argument to __init__(), but not to
frommapfile().
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 03 Apr 2016 23:26:48 +0900 |
parents | 8da01b6e7b49 |
children |
line wrap: on
line source
#!/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