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

Re: subversion mirroring

From: Daniel Widenfalk <Daniel.Widenfalk_at_iar.se>
Date: Tue, 27 Oct 2009 16:58:20 +0100

Hanback, Phillip wrote:
> I’m a network/systems administrator in charge of several Subversion
> repositories. When mirroring a full repository using svnsync, by default
> it does not copy rev props that have been manually changed, correct? Is
> this the only part of the repository it will omit? In other words, is
> this a complete copy of my master repository in all other respects? I
> know this is obviously not going to replicate my Apache configuration or
> any of the assorted modules, or my server configuration. Assuming that
> is correct, is there a recommended way to automate the copying of rev
> props. I mean, now I have scripts that do the synchronizing of revisions
> periodically. Could I also setup a script to check for rev prop
> differences and copy those also. Thanks.

Hi Phillip,

You need tom implement a post-revprop-change hook to copy
the updated revprop to your mirror. This is described in the
svnbook (I think).

$1 - Repository path as given to post-revprop-change
$2 - Revision as given to post-revprop-change

"svnsync copy-revprops svn+svnserve://svn.your.domain.tld/$1 $2"

/Daniel Widenfalk


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-27 16:59:56 CET

This is an archived mail posted to the Subversion Users mailing list.