[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion post-commit hook stopped working

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-10-15 20:12:13 CEST

Faheem Mitha <faheem@email.unc.edu> writes:

> Dear People.
>
> I was using a post-commit hook as follows.
>
> #! /bin/sh
>
> if [ $(/sbin/ifconfig | grep -cs eth0) != 0 ]; then
>
> rm -rf /home/faheem/backsvn/svn*
> /usr/lib/subversion/hot-backup.py /home/faheem/svn
> /home/faheem/backsvn
> . /home/faheem/.keychain/${HOSTNAME}-sh
> rsync -avz --partial --delete -e ssh /home/faheem/backsvn/$(ls
> /home/faheem/backsvn)/ faheem@remotehost:svn/
>
> fi
>
> This hook worked fine with 0.26 but I just upgraded to 0.30 and it no
> longer seems to work. Of course I did a dump/load between 0.26 and
> 0.30, so I copied it over and I may have made some subtle mistake.

Did you update your hot-backup.py script to the version included in
0.30?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 15 20:13:47 2003

This is an archived mail posted to the Subversion Users mailing list.