0
votes

I have the following svn repository setup:

  • repo A: Master repo
  • repo B: Mirror-repo of repo A (mirrored using svnsync)

There are two different kinds of developers:

  • Developer1: commits only on trunk and release branches of repo A
  • Developer2: commits only to a dedicated branch of repo B

Since I have not used svnsync before: how will svnsync handle a commit done by Developer2 to the dedicated branch in repo B?

1

1 Answers

1
votes

This link says you should not ever commit to mirror repository other way than via svnsync:

The protocol that svnsync uses to communicate revision information is highly sensitive to mismatches between the versioned histories contained in the source and target repositories. For this reason, while svnsync cannot demand that the target repository be read-only, allowing the revision history in the target repository to change by any mechanism other than the mirroring process is a recipe for disaster.

Do not modify a mirror repository in such a way as to cause its version history to deviate from that of the repository it mirrors. The only commits and revision property modifications that ever occur on that mirror repository should be those performed by the svnsync tool.