Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f5992eb075a9c07396b2b676282dcc6a92c24e40
commit f5992eb075a9c07396b2b676282dcc6a92c24e40
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Fri Sep 19 15:55:44 2008 +0200
include/scm.sh: use bzr branch --stacked in Funpack_scm()
this is like git clone --depth=0, which means we do not download the
whole history. given that we really just download it, compile and throw
it out, it's a good option for us and (in my testcase) it speeded up the
branching part 3 times.
diff --git a/source/include/scm.sh b/source/include/scm.sh
index 81e98e2..37a2498 100644
--- a/source/include/scm.sh
+++ b/source/include/scm.sh
@@ -155,7 +155,7 @@ Funpack_scm()
Fcd ${_F_scm_url##*/}
elif [ "$_F_scm_type" == "bzr" ]; then
if [ ! -d "${_F_scm_url##*/}" ]; then
- bzr branch $_F_scm_url || Fdie
+ bzr branch --stacked $_F_scm_url || Fdie
Fcd ${_F_scm_url##*/}
else
Fcd ${_F_scm_url##*/}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git