You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vasili Sviridov <vs...@exceede.com> on 2007/07/24 19:59:39 UTC
Convert repository folder structure without losing history
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?
Thank you very much.
Vasili Sviridov,
Exceede Media.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Convert repository folder structure without losing history
Posted by Andy Levy <an...@gmail.com>.
On 7/24/07, Vasili Sviridov <vs...@exceede.com> 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?
Maybe I don't understand the question well enough, but wouldn't svn
mkdir, svn mv and svn rmdir (and other similar file/directory
management commands) do the job?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Convert repository folder structure without losing history
Posted by Eli Carter <el...@commprove.com>.
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