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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-10-03 09:03:59 +00:00
commit 3fc66dedc8

View file

@ -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