# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1660854564 -7200
#      Thu Aug 18 22:29:24 2022 +0200
# Node ID e2811dc28a0301cdcce43cfd83127e71015d75d2
# Parent  172976da909be7cce58a5ea6a1ec44bff4cc5a92
bin-env-setup: small improvement to mercurial.poulpe-setup.sh

diff --git a/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh b/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh
--- a/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh
+++ b/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh
@@ -1,11 +1,13 @@
 #!/bin/bash
 #
-# environment variable that must be set:
+# WARNING: Do not run this script directly, use `bin-env-util setup-one`
+#
+# environment variable that MUST be set:
 #
 #   MERCURIAL_VERSION: an identifier of the Mercurial version (or changeset) we want to install,
 #                      This will be used to run `hg update`.
 #
-# environment variable that can be set:
+# environment variable that MAY be set:
 #
 #   MERCURIAL_REPO_URL a path to a mercurial clone.
 #   MERCURIAL_FLAVOR   a type of installation, available value:
@@ -25,6 +27,8 @@
 
 set -euo pipefail
 
+unset HGWITHRUSTEXT
+
 repo_url="${MERCURIAL_REPO_URL:-https://foss.heptapod.net/mercurial/mercurial-devel}"
 flavor="${MERCURIAL_FLAVOR:-default}"