[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 11:16:24 +0530

Ryan Schmidt wrote:
>
> On Jun 7, 2009, at 23:35, J. Bakshi wrote:
>
>> 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.
>
> It doesn't need to be done every boot either. :) It only needs to be
> done once, ever. :) You've already run the command once now, so you
> can delete the command from anywhere it exists. The working copy has
> been relocated and will stay that way until you relocate it to
> somewhere else.
>
>
>
Oh ; Great !!!
Thanks a lot

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

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

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