Commit 9634a7d8 authored by Julien Muchembled's avatar Julien Muchembled

erp5.util.testnode: tell SR to clone in shared mode

Hard links are only used for the initial clone.
On next runs, the working copies diverge and this wastes space on disk.
parent 29aa0cc9
......@@ -163,6 +163,7 @@ repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.gi
revision = %(revision)s
ignore-ssl-certificate = true
develop = false
shared = true
""" % {'buildout_section_id': buildout_section_id,
'revision': revision_dict[buildout_section_id]})
else:
......@@ -172,6 +173,7 @@ repository = %(repository_path)s
branch = %(branch)s
revision =
develop = false
shared = true
""" % {'buildout_section_id': buildout_section_id,
'repository_path' : repository_path,
'branch' : vcs_repository.get('branch','master')})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment