[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: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-10-16 04:48:08 CEST

On 15 Oct 2003 13:12:13 -0500, C. Michael Pilato <cmpilato@collab.net> wrote:
> 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?

Yes. I've just realised my mistake. It was a silly typo. Thanks.

                                                         Faheem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 16 05:01:10 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.