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

Re: Migrating a repository sub-folder to it's own repository

From: Dave Cardwell <dave+gmane_at_perlprogrammer.co.uk>
Date: 2007-04-05 01:46:47 CEST

Yuji Shinozaki wrote:
> On Apr 4, 2007, at 11:19 AM, Dave Cardwell wrote:
>> Hello there.
>> I have a repository with the following structure:
>> /foo
>> /foo/branches
>> /foo/tags
>> /foo/trunk
>> /bar/
>> /bar/branches
>> ...
>> I'm attempting to migrate these individual sub-folders (foo, bar, ...)
>> to their own Google Code project hosting repository, while maintaining
>> their revision history.
>> I've attempted to use svnsync as per
>> http://code.google.com/support/bin/answer.py?answer=56673&topic=10386
>> but evidently svnsync can only work with entire repositories as it
>> refuses to sync the individual folders.
>> What's the best way of going about this?
> You could do a svn mv in the existing repo to put the directories into
> the structure you want, and then do the svnsync...?

The problem is that I only want one directory in the repository at a
given time. Perhaps I could do delete others, move, sync, revert, repeat
for each sub-folder, but I was hoping there was a more elegant solution.

Best wishes,
Dave Cardwell.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 01:47:32 2007

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