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

Re: svnsync and the hooks scripts

From: Grégoire Welraeds <gregoire.welraeds_at_side-international.com>
Date: 2007-11-12 10:47:34 CET

Ryan Schmidt wrote:
> On Nov 9, 2007, at 05:21, Grégoire Welraeds wrote:
>
> [...]
>
> Replace all occurrences of "pre-revprop-change" with
> "post-revprop-change" and I would agree with you.
>
>
Yes, you are right, it is the post-revprop-change and not
pre-revprop-change hook.

Consequently, it is not exactly true that you can install and run
svnsync from anywhere as stated in the documentation. It has to be
install on the host where the mirrored repository is installed.

[quote source="svnsync FAQ"
location="http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt"]
Q: Do I need to run svnsync on the same machine as one of the
    repositories?

A: While you do need direct access to the destination repository to
    set up a pre-revprop-change hook script, after that point svnsync
    communicates with both repositories through the same "repository
    access" layer that svn uses to connect to remote repositories. So
    svnsync does not have to be run on the same machine as either
    repository; it can communicate with both repositories over any of
    Subversion's RA protocols (svn://, svn+ssh://, http://, https://,
    or file:///). In fact, you don't need any special permissions on
    the source repository at all.
[/quote]

cheers,

Grégoire.

------------------------------------------------------------------
CONFIDENTIALITY: This e-mail and any files transmitted with it are confidential and intended solely for the use of the recipient(s) only. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you have received this e-mail in error please notify the sender immediately and destroy the material whether stored on a computer or otherwise.

DISCLAIMER: Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of SIDE International S.A. - EastNets Group, unless otherwise specifically stated.
------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 12 10:48:06 2007

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.