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

Re: Correcting the import location of a project in a repository.

From: Nick Glencross <nickg_at_glencros.demon.co.uk>
Date: 2005-11-26 20:15:26 CET

Stephan Zeissler wrote:

> Hi,
> there are several ways to fix this:
> 1) Use something like the tortoise repositorybrowser and simply move
> the components directory under trunk/
> 2) Checkout the whole repository and move it there and commit it back.
> 3) Make a dump, modify this dump(i think with svndumpfilter) and load
> it back to a new repository.


  4) Use the svn command-line to do the same as 1).


  svn mkdir XXX/repositoryA/components/componentC

  svn move XXX/repositoryA/tags XXX/repositoryA/components/componentC
  svn move XXX/repositoryA/trunk XXX/repositoryA/components/componentC
  svn move XXX/repositoryA/branches XXX/repositoryA/components/componentC

where XXX is your svn root.

As stated here, it takes 4 transactions; last time I checked it wasn't
possible to move multiple items in one go.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 26 20:19:59 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.