Mercurial > hg
view contrib/vagrant/run-tests.sh @ 33352:967ac37f3d45
cleanupnode: do not use generator for node mapping
The 'successors' part of the mappings used of be a tuple. This avoid issue from
code consuming the generator "by mistake". For example, an extension inspecting the
mapping content used to be able to iterate over the successors mapping without
consequence.
Since the mapping are small we do not expect any performance impact we use tuple
again for this.
author | Octobus <contact@octobus.net> |
---|---|
date | Sun, 09 Jul 2017 15:11:19 +0200 |
parents | 8da01b6e7b49 |
children |
line wrap: on
line source
#!/bin/sh # This scripts is used to setup temp directory in memory # for running Mercurial tests in vritual machine managed # by Vagrant (see Vagrantfile for details). cd /hgshared make local cd tests mkdir /tmp/ram sudo mount -t tmpfs -o size=100M tmpfs /tmp/ram export TMPDIR=/tmp/ram ./run-tests.py -l --time