contrib/vagrant/Vagrantfile
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 13 Dec 2014 19:36:50 -0500
changeset 23578 d0546e8e1def
parent 21874 8da01b6e7b49
child 26140 a31ffc445f02
permissions -rw-r--r--
subrepo: drop the 'ui' parameter to removefiles() This no longer needs to be explicitly passed because the subrepo object tracks the 'ui' reference since fcbc66b5da6a. See the change to 'archive' for details about the differences between the output level in the root repo and subrepo 'ui' object. The only use for 'ui' in remove is to emit status and warning messages, and to check the verbose flag prior to printing files to be removed. The bad() method on the matcher still uses the root repo's ui, because narrowing the matcher doesn't change the ui object. The local repo's ui was already being used to print a warning message in wctx.forget() and for 'ui.slash' when walking dirstate in the repo.status() call.

# -*- 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