mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
1836690a41
commit
3fc66dedc8
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue