From c448e52f93e94881720b6be54e93eb023d944e6c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 9 Mar 2011 18:06:08 +0100 Subject: [PATCH] ./all update: make a .no file skip updating. Other operations (including ./all clean --reclone) still consider these repos! --- all | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/all b/all index 8f6f6e90..e892def8 100755 --- a/all +++ b/all @@ -235,7 +235,7 @@ listrepos() fi # if we have .no file, skip if [ -f "$d.no" ]; then - msg "Repository $d disabled by a .no file, delete $p.no to enable" + msg "Repository $d disabled by a .no file, delete $d.no to enable" continue fi # if we have matching pk3, skip @@ -608,6 +608,11 @@ case "$cmd" in pushurl=`repopushurl "$d"` branch=`repobranch "$d"` if [ -d "$d0/$d" ]; then + # if we have .no file, skip + if [ -f "$d0/$d.no" ]; then + msg "Repository $d disabled by a .no file, delete $d.no to enable; thus, not updated" + continue + fi if $allow_pull; then enter "$d0/$d" verbose r=`git symbolic-ref HEAD` -- 2.39.2