[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Migrate parts of repository - got it right?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Thu, 04 Aug 2011 10:40:21 -0500

On 8/4/2011 9:18 AM, Daniel Shahaf wrote:
> Konstantin Kolinko wrote on Thu, Aug 04, 2011 at 14:58:24 +0400:
>> 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.
>
> I expect it to work in that case too. (A copy into the tree would be
> converted into an add.)

Just be sure to check that you are actually getting the content you
expected. I once set up svnsync with an incorrect source URL pointing
at a path that didn't exist in the repository, watched it copy every
revision and revprop, and thought for a while that I had a backup of the
content.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Received on 2011-08-04 17:40:57 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.