[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: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Fri, 5 Jun 2009 15:18:12 -0500

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.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-05 22:20:04 CEST

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.