I have the task of extracting a subdirectory of a subversion (1.6) repository and place it into a new repository of its own.
For several reasons I wanted to use svnsync to replicate the subdirectory into a new repository. I now want to make sure that this is safe, because the SVNBook says (subversion 1.5)
svnsync is very sensitive to changes made in the mirror repository that weren't made as part of a mirroring operation. To prevent this from happening, it's best if the svnsync process is the only process permitted to modify the mirror repository.
and (subversion 1.6)
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.
I am assuming that this is valid if you want to use svnsync to actually keep a mirror up-to-date.
Our use-case is
- svnsync a subdirectory of repository A to repository B
- Make subdirectory of repository A read-only (only for archival purposes)
- Make all further commits of the content on repository B
Can anyone confirm that this use-case is feasible?