Index: trunk/util/bisecter/bisecter =================================================================== --- trunk/util/bisecter/bisecter (revision 10927) +++ trunk/util/bisecter/bisecter (revision 10928) @@ -115,6 +115,25 @@ fi } -cache_build $1 1 +cache_get() +{ + local rev=$1 exebn + exebn=`basename $exe` + if test -f "$cache/$exebn.$rev$cache_compsuffix" + then + echo "Retrieving $exebn.$rev from cache..." + cp $cache/$exebn.$rev$cache_compsuffix . + if test ! -z "$cache_decompress" + then + $cache_decompress "$exebn.$rev$cache_compsuffix" + fi + else + cache_build $rev 1 + fi +} + +cache_get $1 + + Index: trunk/util/bisecter/bisecter.conf.in =================================================================== --- trunk/util/bisecter/bisecter.conf.in (revision 10927) +++ trunk/util/bisecter/bisecter.conf.in (revision 10928) @@ -13,6 +13,9 @@ # how to decompress executables for the cache cache_decompress="xz -d" +# suffix the compressor appends +cache_compsuffix=".xz" + # url to use url=svn://repo.hu/pcb-rnd/trunk