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 ...@@ -163,6 +163,7 @@ repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.gi
revision = %(revision)s revision = %(revision)s
ignore-ssl-certificate = true ignore-ssl-certificate = true
develop = false develop = false
shared = true
""" % {'buildout_section_id': buildout_section_id, """ % {'buildout_section_id': buildout_section_id,
'revision': revision_dict[buildout_section_id]}) 'revision': revision_dict[buildout_section_id]})
else: else:
...@@ -172,6 +173,7 @@ repository = %(repository_path)s ...@@ -172,6 +173,7 @@ repository = %(repository_path)s
branch = %(branch)s branch = %(branch)s
revision = revision =
develop = false develop = false
shared = true
""" % {'buildout_section_id': buildout_section_id, """ % {'buildout_section_id': buildout_section_id,
'repository_path' : repository_path, 'repository_path' : repository_path,
'branch' : vcs_repository.get('branch','master')}) '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