From 3fc66dedc8088133dba09b824acdcb774c32a054 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 3 Oct 2016 09:03:59 +0000 Subject: [PATCH] purge-stale-projects.sh: Check_scm() tried git pull Which doesn't make a whole lot of sense on a stale project without an online counterpart. Removed the check without having a clear idea on what it had been there for in the first place. Signed-off-by: Jan Lindemann --- scripts/purge-stale-projects.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/purge-stale-projects.sh b/scripts/purge-stale-projects.sh index 34fb963c..409104f0 100644 --- a/scripts/purge-stale-projects.sh +++ b/scripts/purge-stale-projects.sh @@ -21,14 +21,14 @@ check_scm() local p=$1 if [ -d $p/.git ]; then log + checking git - git -C $p pull --no-edit || fatal "git pull failed, giving up" + #git -C $p pull --no-edit || fatal "git pull failed, giving up" git -C $p status --porcelain | grep -v '^??' | grep -q . && { git -C $p status fatal "git in project \"$p\" has locally modified files, giving up" } else log + checking cvs - cvs update -dP $p + #cvs update -dP $p cvs status $p > $scm_status 2>&1 if [ $? != 0 ]; then cat $scm_status