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

Moving a subtree to a different repository

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: 2006-09-14 20:14:20 CEST

One of my users committed a number of files to the trunk of our repository.

svn://server/OriginalProjectRepo/trunk/DirectoryWithFilesInIt

Now we've decided that we want to move this directory and all its contents
to a different repository, which already exists,

svn://server/DifferentProjectRepo/trunk/DirectoryWithFilesInIt

I'd like to do this in a way that preserves the history of changes made. I
know I can export the current revision from OriginalProjectRepo and then
check files into DifferentProjectRepo, but this would naturally break the
history of the files.

I've read the Subversion Book, as well as William Nagel's book, to try to
apply svndumpfilter to the problem. I can see methods for combining
repositories and splitting repositories into _new_ ones. But I don't see
how to move files between repositories that are already established.

Is there a way to do this, or am I stuck? I suspect that I _am_ stuck, but
I wanted to ask in case there's a way to do this and save history.

I'll appreciate any help.

Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 14 20:15:10 2006

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