view contrib/vagrant/Vagrantfile @ 22178:70383c6961b4 stable

discovery: prevent crash on unknown remote heads with old repo (issue4337) When a remote is not capable of the `branchmap` wireproto command, we denote incoming heads with None. This leads to a crash in the code in charge of displaying the list of unknown remote heads. We now properly detect this case and display a shorter message in this case. The reason for this `set([None])` value is now documented.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 14 Aug 2014 16:26:41 -0700
parents 8da01b6e7b49
children a31ffc445f02
line wrap: on
line source

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 7.4 32-bit i386 without configuration management software
  config.vm.box = "puppetlabs/debian-7.4-32-nocm"
  #config.vm.box = "pnd/debian-wheezy32-basebox"
  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