You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Hanback, Phillip" <Ph...@avocent.com> on 2009/10/27 15:51:07 UTC

subversion mirroring

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.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: subversion mirroring

Posted by Daniel Widenfalk <Da...@iar.se>.
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@subversion.tigris.org].

Re: subversion mirroring

Posted by Andy Levy <an...@gmail.com>.
On Tue, Oct 27, 2009 at 11:51, Hanback, Phillip
<Ph...@avocent.com> 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.

Your hook scripts are also not copied.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].