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

Re: subversion multisite

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 05 May 2009 11:19:58 -0500

Irfan Sayed wrote:
> OK. Thanks.
>
> Here is what i will do.
> I have two servers. on one server i will create master source code
> repository say mast_repo and now this repository i want to replicate
> to another server.
> here is what i have done
> i have created two repositories and fired the following command.
>
> [root_at_svntest svn]# svnsync init
> http://10.192.2.195/svn/mast_repo_dest
> http://10.192.2.195/svn/mast_repo
> svnsync: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed or is non-existent
> svnsync: At least one property change failed; repository is unchanged
> svnsync: Error setting property 'sync-lock':
> could not remove a property
> [root_at_svntest svn]#
> :
> is there anything missing??
> please advice

The error message is pretty clear. Svnsync needs a pre-revprop-change
hook that at least permits (by exiting with a 0 status) property changes
by the user who will run svnsync. If you don't care about blocking
others, the script can just:
#!/bin/sh
exit 0
in the hooks directory of your newly created destination repository. Be
sure to make it executable (chmod +x).

By the way - another interesting possibility is pushmi
(http://search.cpan.org/~clkao/Pushmi-v1.0.0/lib/Pushmi.pm) which looks
like it does approximately the same thing but internally instead of
making apache to the proxy to the master.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
-- 
   Les
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2070650
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-05 18:21:50 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.