diff --git a/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh b/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh index 172976da909be7cce58a5ea6a1ec44bff4cc5a92_c2NtLXBlcmYvYmluLWVudi1zZXR1cC9tZXJjdXJpYWwucG91bHBlLXNldHVwLnNo..e2811dc28a0301cdcce43cfd83127e71015d75d2_c2NtLXBlcmYvYmluLWVudi1zZXR1cC9tZXJjdXJpYWwucG91bHBlLXNldHVwLnNo 100755 --- a/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh +++ b/scm-perf/bin-env-setup/mercurial.poulpe-setup.sh @@ -1,7 +1,9 @@ #!/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`. # @@ -4,8 +6,8 @@ # # 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}"