[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 16:30:52 +0530

On Mon, May 18, 2009 at 3:50 PM, Andy Levy <andy.levy_at_gmail.com> wrote:

> On Mon, May 18, 2009 at 05:23, Irfan Sayed <irfu.sayed_at_gmail.com> wrote:
> > Hi All,
> >
> > Please suggest.
>
> 1) Please stop top-posting (not the first time you've been asked to do so)
> 2) You waited only 3 hours. If you require immediate responses, you
> should be paying for support.
> 3) Have you searched for the error message using Google?
>
> >
> > On Mon, May 18, 2009 at 11:46 AM, Irfan Sayed <irfu.sayed_at_gmail.com>
> wrote:
> >>
> >> 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 <http://10.1.1.171/>>
> Subversion Repository
> >> Password for 'root':
> >> Authentication realm: <http://10.1.1.171:80 <http://10.1.1.171/>>
> 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_at_svntest hooks]# svnsync synchronize
> http://10.1.1.171/svn/repos_mnt
> >> Authentication realm: <http://10.1.1.171:80 <http://10.1.1.171/>>
> Subversion Repository
> >> Password for 'root':
> >> Authentication realm: <http://10.1.1.171:80 <http://10.1.1.171/>>
> 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
> >> >
> >> >
> >
> >
>

ok. now i have resolved the error. what i have seen is that replication is
only happening one way and not the two way. i can make the changes in both
the repository but syncing is happening only in one way. if i make the
changes in destination repository then thiose changes will not reflect in
source repos.

how should i configure so that two way replication is enabled so that
whenever chnages happens in any repos. those changes shud go to other repos.

regards
irf

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

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