Parent Directory | Revision Log
- use a script, with a lock , so we can have more than one update running without trouble. Remove older comments in manifests
1 | #!/bin/bash |
2 | GIT_REP="$1" |
3 | LOCKFILE="$GIT_REP/.git/update.cron.lock" |
4 | |
5 | cd "$GIT_REP" |
6 | [ -f $LOCKFILE ] && exit 0 |
7 | trap "rm -f '$LOCKFILE'" EXIT |
8 | |
9 | touch "$LOCKFILE" |
10 | |
11 | /usr/bin/git svn fetch |
12 | /usr/bin/git svn rebase |
13 | exit 0 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |