Skip to content
Snippets Groups Projects
Commit a48d6087 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmark: add some print to the pull out of order preparation step

Now that the debug mode allow to see them, this will be useful.
parent 65fa2bfd
No related branches found
No related tags found
No related merge requests found
......@@ -16,4 +16,5 @@
prepare-run = """
rm -rf temporary-pull-source;
if [ ! -e cached-pull-source ]; then
echo "cleaning old wip up"
rm -rf wip-pull-source;
......@@ -19,3 +20,4 @@
rm -rf wip-pull-source;
echo "getting a wip copy"
cp --archive --recursive --reflink=auto "$MAIN_REPO" wip-pull-source;
cp ./pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/strip-roots.nodes striproots
......@@ -20,6 +22,7 @@
cp --archive --recursive --reflink=auto "$MAIN_REPO" wip-pull-source;
cp ./pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/strip-roots.nodes striproots
echo "stripping"
hg -R wip-pull-source \
--config extensions.strip= strip \
--no-backup \
'nodefromfile("striproots")';
......@@ -22,5 +25,6 @@
hg -R wip-pull-source \
--config extensions.strip= strip \
--no-backup \
'nodefromfile("striproots")';
echo "warming cache"
hg -R wip-pull-source debugupdatecache;
......@@ -26,3 +30,4 @@
hg -R wip-pull-source debugupdatecache;
echo "reference repo ready"
mv wip-pull-source cached-pull-source;
fi
......@@ -27,3 +32,4 @@
mv wip-pull-source cached-pull-source;
fi
echo "copying reference repo"
cp --archive --recursive --reflink=auto cached-pull-source temporary-pull-source;
......@@ -29,4 +35,5 @@
cp --archive --recursive --reflink=auto cached-pull-source temporary-pull-source;
echo "all set for the benchmark"
"""
[environment]
MAIN_REPO="DATA-VARS:mercurial.main-repo-path"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment