packaging: explain why we purge while building wheels
We also make is a bit narrower so that it is less surprising.
--- 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