Skip to content
Snippets Groups Projects
Commit 5661727b authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

setup-poulpe-den: actually pass the modified environment down to hg

parent 4c60d89a
No related branches found
No related tags found
1 merge request!38Bunch of improvements
......@@ -117,7 +117,7 @@
def clone_hg(source, dest):
environ = os.environ.copy()
environ["HGRCPATH"] = ""
environ["HGPLAIN"] = ""
environ["HGPLAIN"] = "1"
command = [
"hg",
"clone",
......@@ -131,8 +131,10 @@
"--config",
"extensions.share=",
"--config",
"ui.timeout.warn=60",
"--config",
"share.poolnaming=remote",
"--config",
f"share.pool={POULPE_DIR}/.repos_caches",
]
)
......@@ -134,9 +136,9 @@
"share.poolnaming=remote",
"--config",
f"share.pool={POULPE_DIR}/.repos_caches",
]
)
subprocess.run(command, check=True)
subprocess.run(command, check=True, env=environ)
def setup_base_dir(path):
......
......@@ -4,4 +4,5 @@
cat << EOF >> $HGRCPATH
[ui]
quietbookmarkmove = no
timeout.warn = 60
EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment