contrib/vagrant/Vagrantfile
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 12 Feb 2019 12:13:56 -0800
changeset 41708 d20f1594ff4a
parent 26140 a31ffc445f02
child 43509 7fd16ddabaa0
permissions -rw-r--r--
url: always access req._tunnel_host The getattr() was there to handle Python versions before 2.6, which lacked this attribute. We /might/ be able to further delete some code here. However, the behavior here is extremely hard to follow because large parts of this code duplicate code from the Python standard library and it is difficult to understand what is actually needed. Differential Revision: https://phab.mercurial-scm.org/D5950

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 8.1 x86_64 without configuration management software
  config.vm.box = "debian/jessie64"
  config.vm.hostname = "tests"

  config.vm.define "tests" do |conf|
    conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
    conf.vm.provision :shell, path: "provision.sh"
    conf.vm.synced_folder "../..", "/hgshared"
  end
end