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

Re: Convert repository folder structure without losing history

From: Eli Carter <eli.carter_at_commprove.com>
Date: 2007-07-24 22:16:43 CEST

On Tuesday 24 July 2007, Vasili Sviridov wrote:
> Hello all,
>
> I have a following predicament on my hands. Normally I maintain our set
> of SVN repositories in the company. But one of the projects (which I was
> not involved in) was created by somebody else. So now the repository
> looks like this
>
> /-ProjectLibraryA
> /-ProjectLibraryB
> /-ProjectExecutable
> /-Documentation
> /-etc...
>
> as you can see it's not following the standard
> /-branches
> /-tags
> /-trunk
> ---ProjectLibraryA
> ....
> setup.
>
> So, my question is - what would be the most painless way to convert
> current setup (everything in the root) into the regular setup
> (everything under trunk) so that the commit history is maintained as-is,
> but the file location is changed?

dump, modify, load.

Look at svndumptool.py, and tools such as sed.

Eli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 24 22:15:56 2007

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.