return 0
}
+
+check_ap_fetch_placeholders () {
+ if [ "x$AP_FETCH_PLACEHOLDERS" != xy ] ; then
+ return 0
+ fi
+
+ echo "$(basename $0):$branch"
+ exit 0
+}
select_xenbranch
. ./ap-common
+check_ap_fetch_placeholders
+
if info_linux_tree "$branch"; then
repo_tree_rev_fetch_git linux \
$TREE_LINUX_THIS $TAG_LINUX_THIS $LOCALREV_LINUX
branch=$1
. ./cri-lock-repos
+. ./ap-common
+
+check_ap_fetch_placeholders
: ${BASE_TREE_LINUX:=git://xenbits.xen.org/people/ianc/linux-2.6.git}
: ${BASE_TAG_LINUX:=xen/next-2.6.32}
select_xenbranch
. ./ap-common
+check_ap_fetch_placeholders
+
case "$branch" in
linux-next)
select_xenbranch
. ./ap-common
+check_ap_fetch_placeholders
+
: ${BASE_TAG_LINUX2639:=tested/2.6.39.x}
: ${BASE_LOCALREV_LINUX:=daily-cron.$branch.old}
: ${BASE_LOCALREV_LIBVIRT:=daily-cron.$branch.old}
set `./mg-list-all-branches`
fi
-if [ "x$AP_FETCH_MEMO_KEEP" = x ]; then
+: ${AP_FETCH_PLACEHOLDERS:=y}
+export AP_FETCH_PLACEHOLDERS
+
+
+if [ "x$AP_FETCH_PLACEHOLDERS" != xy ]; then
+ if [ "x$AP_FETCH_MEMO_KEEP" = x ]; then
rm -rf tmp/apmemo
mkdir tmp/apmemo
+ fi
+ export AP_FETCH_PFX='./memoise tmp/apmemo'
fi
-export AP_FETCH_PFX='./memoise tmp/apmemo'
# In the future it might be nice for this script to arrange to use a
# separate standalone.db, in tmp/ probably, for each different branch.