On Mar 10, 2010, at 14:49, Kevin Longfellow wrote:
> I'm setting up monitoring hourly commits on several repositories and thought
> something like this would work:
>
> #!/bin/sh
> OneHourAgo=`date -d '1 hour ago' +'%F %T'`
> DateNow=`date +'%F %T'`
> em_result=`svn log -r "{${OneHourAgo}}:{${Da
Hi,
I'm setting up monitoring hourly commits on several repositories and thought
something like this would work:
#!/bin/sh
OneHourAgo=`date -d '1 hour ago' +'%F %T'`
DateNow=`date +'%F %T'`
em_result=`svn log -r "{${OneHourAgo}}:{${DateNow}}" file:///${SvnBase}/${1} |
egrep "^r.*line|^r.*lines