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

last timed

parent a48d6087
No related tags found
No related merge requests found
......@@ -8,10 +8,16 @@
[simple-command]
command="""
ls -1 pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/pull-round-????.nodes | sort |
while read file_path; do
hg $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG pull -R temporary-pull-source "$MAIN_REPO" `cat $file_path`;
done;
if [ "$TIMED_STEP" = "last" ]; then
hg $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG pull -R temporary-pull-source \
"$MAIN_REPO" `cat last-pull-step.nodes`;
else
ls -1 pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/pull-round-????.nodes \
| sort | while read file_path; do
hg $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG \
pull -R temporary-pull-source "$MAIN_REPO" `cat $file_path`;
done;
fi
"""
prepare-run = """
rm -rf temporary-pull-source;
......@@ -26,6 +32,18 @@
--config extensions.strip= strip \
--no-backup \
'nodefromfile("striproots")';
if [ "$TIMED_STEP" = "last" ]; then
echo "pulling out of order (but the last pull)"
ls -1 pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/pull-round-????.nodes | \
sort | head -n -1 | \
while read file_path; do
hg $ISSUE6528_ARG $PULLED_DELTA_REUSE_CFG \
-R wip-pull-source \
pull "$MAIN_REPO" `cat $file_path`;
cp `ls -1 pull-nodes/out-of-order-$ROUNDS-$STEPS-$OOO_COUNT/pull-round-????.nodes \
| sort | tail -n 1` last-pull-step.nodes ;
done;
fi
echo "warming cache"
hg -R wip-pull-source debugupdatecache;
echo "reference repo ready"
......@@ -55,6 +73,12 @@
environment.PULLED_DELTA_REUSE_CFG="--config 'paths.*:pulled-delta-reuse-policy=forced'"
constraints.compatible-revision-range="f35cf52acabd::"
[simple-command.variants.dimensions.timed-step.all]
default=true
[simple-command.variants.dimensions.timed-step.last]
environment.TIMED_STEP="last"
[simple-command.variants.dimensions.rounds.5]
default=true
......
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