Mercurial > hg > orthanc-stone
changeset 1493:c9bdf73a8817
fix docker-internal.sh for CIS
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Jun 2020 14:08:10 +0200 |
parents | 4b5ec9ea268e |
children | 5a3ef478deb6 |
files | Samples/WebAssembly/docker-internal.sh |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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