8 cd "$cfg_reporoot/$proj.git"
10 if check_interval lastrefresh
$cfg_min_mirror_interval; then
11 progress
"= [$proj] update skip (last at $(config_get lastrefresh))"
14 progress
"+ [$proj] update (`date`)"
20 url
="$(config_get baseurl)"
21 mail="$(config_get owner)"
25 GIT_DIR
=. bang git svn fetch
26 GIT_DIR
=. bang git fetch
29 bang git remote update
30 bang git remote prune origin
34 bang git update-server-info
35 bang config_set lastrefresh
"$(date -R)"
37 if [ -e .banged
]; then
38 echo "$proj update succeeded - failure recovery" |
mail -s "[$cfg_name] $proj update succeeded" "$mail,$cfg_admin"
42 progress
"- [$proj] update (`date`)"