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

Re: Repository Directory Tree

From: Lorenz <lorenznl_at_yahoo.com>
Date: Fri, 10 Sep 2010 05:42:28 +0000

Giulio Troccoli wrote:
>[...]
>- check out the whole thing (it might be too big but maybe not)
> svn checkout file:///var/svn ~/tmp
>This will create a new directory called tmp in your home directory whit the whole of your repository.
>Insinde ~/tmp you will have var/svn/proj1, var/svn/proj2 and var/svn/proj3.
>
>- move the projects to the root of your repository
> cd ~/tmp
> svn move var/svn/proj1 proj1
> svn move var/svn/proj2 proj2
> svn move var/svn/proj3 proj3
>Since you have used svn command the history will be preserved.
>
>- commit
> svn commit -m"Reorganising the projects"

if you don't want to check-out the whole repository, and are working
from the command line anyway, you can use svnmucc to do the
restructuring in one commit without a working copy.

        svnmucc mv url1 url2 mv url3 url4 ...

-- 
Lorenz
Received on 2010-09-10 07:43:28 CEST

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.