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

Re: [ SOLVED ] strange reaction from post-commit hook

From: J. Bakshi <joydeep_at_infoservices.in>
Date: Mon, 08 Jun 2009 10:05:47 +0530

Ryan Schmidt wrote:
>
> On Jun 5, 2009, at 07:50, J. Bakshi wrote:
>
>> the script should be
>>
>> `````````````````````````````````````````
>> svn switch --relocate https://192.168.1.1/repos/test
>> file:///home/SVN/testi
>> svn up /var/www/html/POSTCOMMIT
>> ``````````````````````````````````````````````
>
> The relocate command only needs to be executed once, ever. It should
> not go in your hook script where it will be executed every time. Your
> hook script only needs an "svn up" as before.
>
>
>

Thanks, I will place all the relocation as init.d script. So after
booting all relocation will be set.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2360180

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-08 06:36:51 CEST

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