changeset 52259:074bc2b135f3 stable

packaging: explain why we purge while building wheels We also make is a bit narrower so that it is less surprising.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 15 Nov 2024 16:34:50 +0100
parents b65f11f49375
children b5517711afca
files contrib/packaging/build-linux-wheels.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/build-linux-wheels.sh	Fri Nov 15 00:01:34 2024 +0100
+++ b/contrib/packaging/build-linux-wheels.sh	Fri Nov 15 16:34:50 2024 +0100
@@ -20,7 +20,11 @@
 #     therefor not compatible.
 cp -r /src/ /tmp/src/
 cd /tmp/src/
-hg purge --all --no-confirm
+# clear potentially cached artifact from the host
+# (we could narrow this purge probably)
+hg purge \
+    --ignored \
+    --no-confirm
 
 export HGRCPATH=/tmp/build-config.rc
 cat << EOF > $HGRCPATH