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.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2360182
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-08 06:44:47 CEST