Mercurial > hg > orthanc-tests
changeset 740:5d04bdbd4906 find-refactoring
fix forbidden access to file on mercurial server
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 15 Nov 2024 09:38:29 +0100 |
parents | e2cc7f8d9131 |
children | 89cb780d8a11 |
files | NewTests/PostgresUpgrades/downgrade.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/downgrade.sh Thu Nov 07 10:31:06 2024 +0100 +++ b/NewTests/PostgresUpgrades/downgrade.sh Fri Nov 15 09:38:29 2024 +0100 @@ -2,9 +2,9 @@ pushd /scripts -# TODO: change pg-transactions by the plugin version number ! -apt-get update && apt-get install -y wget && wget https://orthanc.uclouvain.be/hg/orthanc-databases/raw-file/default/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql -psql -U postgres -f Rev2ToRev1.sql +apt-get update && apt-get install -y wget mercurial +hg clone https://orthanc.uclouvain.be/hg/orthanc-databases +psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql # if you want to test a downgrade procedure, you may use this code ... # psql -U postgres -f downgrade.sql