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"
Regards
/Daniel Widenfalk
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2411713
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-27 16:59:56 CET