[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: Irfan Sayed <irfu.sayed_at_gmail.com>
Date: Mon, 18 May 2009 11:46:33 +0530

Ok. Thanks
now i am able to initialise the subversion multisite. i fired following command

 [root@svntest hooks]# svnsync init http://10.192.2.195/svn/mast_repo
http://10.1.1.171/svn/repos_mnt
Authentication realm: <http://10.1.1.171:80> Subversion Repository
Password for 'root':
Authentication realm: <http://10.1.1.171:80> Subversion Repository
Username: svnadm
Password for 'svnadm':
Copied properties for revision 0.

so it means that it initialised properly. now i fired the another
command to synchronise the two repositories but which is giving error.

[root@svntest hooks]# svnsync synchronize http://10.1.1.171/svn/repos_mnt
Authentication realm: <http://10.1.1.171:80> Subversion Repository
Password for 'root':
Authentication realm: <http://10.1.1.171:80> Subversion Repository
Username: svnadm
Password for 'svnadm':
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

please advice

Regards
Irf

On Tue, May 5, 2009 at 9:49 PM, Les Mikesell <lesmikesell_at_gmail.com> wrote:
>
> 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=2296960

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-18 08:17:38 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.