Ah....I just found this on http://svn.apache.org/repos/asf/subversion/trunk/notes/svnsync.txt:
---snip
...
Q: Can I mirror a subdirectory of a master repository?
A: As of Subversion 1.5, it is possible to limit svnsync to a subdirectory
of the master repository.
This is most useful when the master repository is organized in projects,
and you want to sync only one project.
...
Note: this syntax only allows you to limit the scope of svnsync to
/project1. It does not:
- allow you to sync two or more projects from the master repository.
- recognize renames of project1. Example, if the original name of project1
was secretproject, only the changes starting from the revision in which the
rename to project1 was committed will be synced.
If you need any of these abilities right now, you may want to look into SVK
(http://svk.bestpractical.com/).
----snap
So, I guess I have to mirror the whole repository to a temporary repository, create a special user who is only allowed to read the wanted projects and mirror the temporary repository again, this time to the final sink repository.
Best regards,
pete
-----Ursprüngliche Nachricht-----
Von: "Peter Pommelich" <PetePomm_at_web.de>
Gesendet: 04.08.2011 15:30:31
An: "Konstantin Kolinko" <knst.kolinko_at_gmail.com>
Betreff: Re: Migrate parts of repository - got it right?
>Thanks a lot for that hint! Do you know if it's possible to sync multiple folders of the source repository to the same destination repository? Something like this:
>
>svnsync initialize svn://a.repo.org/projA svn://b.repo.org/dest
>svnsync initialize svn://a.repo.org/projB svn://b.repo.org/dest
>svnsync initialize svn://a.repo.org/projC svn://b.repo.org/dest
>...
>svnsync sychronize svn://b.repo.org/dest
>
>The goal is migrate multiple projects from the source repository to one destination repository.
>
>Kind regards,
>pete
>
>
>-----Ursprüngliche Nachricht-----
>Von: "Konstantin Kolinko" <knst.kolinko_at_gmail.com>
>Gesendet: 04.08.2011 12:58:24
>An: "Peter Pommelich" <PetePomm_at_web.de>
>Betreff: Re: Migrate parts of repository - got it right?
>
>>2011/8/4 Peter Pommelich <PetePomm_at_web.de>:
>>> I just want to that sure, because A is very large and it will take some time to get this done.
>>
>>Note, that svnsync can be used to synchronize only a subset of repository.
>>
>>As says help printed by "svnsync help init",
>>If the source URL is not the root of a repository, only the
>>specified part of the repository will be synchronized.
>>
>>Though I suspect that there are caveats: there should not be move or
>>copy operations that cross the boundary between this project and the
>>rest of repository.
>>
>>In SVN 1.7 there will also be "svnrdump" utility that will allow to
>>create repository dump remotely, internally using the same approach as
>>svnsync. I have not tried it though.
>>
>>Best regards,
>>Konstantin Kolinko
>
>
>___________________________________________________________
>Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
>Toolbar eingebaut! http://produkte.web.de/go/toolbar
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar
Received on 2011-08-04 15:55:24 CEST