From c8eb8e2e6840519aa4e50bef6eddb09b4fc443fa Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Mon, 16 May 2011 14:33:44 +0200
Subject: [PATCH] allow to specify another branch than master (usefull for
 testing local branches)

---
 slapos/software.cfg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/slapos/software.cfg b/slapos/software.cfg
index c0ed159eb8..2515db74c7 100644
--- a/slapos/software.cfg
+++ b/slapos/software.cfg
@@ -191,7 +191,8 @@ recipe = plone.recipe.command
 location = ${buildout:parts-directory}/${:_buildout_section_name_}
 stop-on-error = true
 repository = http://git.erp5.org/repos/erp5.git
-command = ${git:location}/bin/git clone --quiet ${:repository} ${:location}
+branch = master
+command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}
 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
 
 [products]
-- 
2.30.9