# HG changeset patch # User Sebastien Jodogne # Date 1593086890 -7200 # Node ID c9bdf73a8817ebf1d73c3a5234da06098a8fd36f # Parent 4b5ec9ea268eb544a29e028ea4ffd7f99eb259e1 fix docker-internal.sh for CIS diff -r 4b5ec9ea268e -r c9bdf73a8817 Samples/WebAssembly/docker-internal.sh --- a/Samples/WebAssembly/docker-internal.sh Thu Jun 25 09:13:56 2020 +0200 +++ b/Samples/WebAssembly/docker-internal.sh Thu Jun 25 14:08:10 2020 +0200 @@ -12,9 +12,13 @@ # Make a copy of the source code in a writeable folder, because of # "DownloadPackage.cmake" that writes to the "ThirdPartyDownloads" -# folder next to the "CMakeLists.txt" +# folder next to the "CMakeLists.txt". We don't use "hg archive", but +# "hg clone", as the "/source" folder might be created by a more +# recent version of Mercurial, triggering the error "repository +# requires features unknown to this Mercurial: sparserevlog!" +# (cf. https://www.mercurial-scm.org/wiki/MissingRequirement). cd /source -hg archive /tmp/source-writeable +hg clone /source /tmp/source-writeable mkdir /tmp/build cd /tmp/build