Last change
on this file since 85 was
85,
checked in by Jari Häkkinen, 17 years ago
|
Added cron script that is run within the trac environment to create an upto
date statistics for svnstat. The output is linked to from the svnstat wiki.
Fixes #29.
|
File size:
437 bytes
|
Line | |
---|
1 | # $Id$ |
---|
2 | |
---|
3 | SHELL=/bin/bash |
---|
4 | PATH=/sbin:/bin:/usr/sbin:/usr/bin |
---|
5 | MAILTO=jari@thep.lu.se |
---|
6 | HOME=/ |
---|
7 | |
---|
8 | cd /export/home/trac/tracs/svnstat/htdocs/pristine_svnstat |
---|
9 | /usr/bin/svn diff -rHEAD > tmp.txt~ |
---|
10 | /usr/bin/svn diff -rHEAD |
---|
11 | if [ -s "tmp.txt~" ]; then |
---|
12 | /usr/bin/svn update |
---|
13 | /export/home/jari/local/bin/svnstat -f \ |
---|
14 | -r /export/home/trac/tracs/svnstat/htdocs/pristine_svnstat \ |
---|
15 | -t /export/home/trac/tracs/svnstat/htdocs/svnstat |
---|
16 | fi |
---|
17 | rm tmp.txt~ |
---|
Note: See
TracBrowser
for help on using the repository browser.