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

Re: Question on reorganizing repository

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2005-11-07 18:26:54 CET

On 11/7/05, svn@demner.com <svn@demner.com> wrote:
> I currently have a repository in the following format:
> project/trunk/subproject1/files
> project/trunk/subproject2/files
> and I'd like to reorganize this into 2 repositories in the following format:
> subproject1/trunk/files
> subproject2/trunk/files
> Ideally, I'd like to have just the revisions that are applicable for each
> subproject, but this is just a nice to have. Also, I'd like to keep each
> files history intact (I know I can make a working copy, do an svn del on
> the repo, and commit the working copy but I think I'd lost history,
> wouldn't I?)
> I've played around with svnadmin dump, svn move, and some other commands,
> but I always end up with an error. If you want me to post the command
> sequences I've tried, please let me know, but I don't want to lead people
> down the wrong path
> Anyway, thanks for any help,

How did you try to use svn move? And what errors did you get?

Something similar to this should work:
svn mkdir pathtoserver/subproject1
svn mv pathtoserver/project/trunk/subproject1 pathtoserver/subproject1/trunk


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 7 18:30:44 2005

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.