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

RE: Reorganizing project within SVN....

From: <Chris.Fouts_at_qimonda.com>
Date: 2006-12-27 15:42:16 CET

Sounds like you need "svn mkdir" and "svn mv" to make the
dirs, and then move the files there. I believe this preserves
the history.

>-----Original Message-----
>From: Sven [mailto:svn-user@celticblues.com]
>Sent: Thursday, December 21, 2006 5:08 PM
>To: users@subversion.tigris.org
>Subject: Reorganizing project within SVN....
>
>I have a project which has the following strcture in svn:
>
>project_A
>
>\---project_A
> \---testProgram
>
>All the source files, header files, make files etc. are all
>under the root directory for this project: project_A.
>similarly all the source, make etc. files for the test program
>for the project are under project_A/testProgram.
>
>I want to change the structure to something like:
>
>\---project_A
> +---build
> | +---common
> | +---linux
> | +---win32
> | \---mingw
> +---data
> +---doc
> +---examples
> | |---testProgram
> \---src
>
>Actually I guess I should make that
>
>\---project_A
> +---branches
> +---tags
> +---trunk
> |---build
> | +---common
> | +---linux
> | +---win32
> | \---mingw
> +---data
> +---doc
> +---examples
> +---testProgram
> \---src
>
>How do I restructure project_A's structure within the
>pepository without losing all the history of the file changes
>etc., all the revisions and such. In VSS (sorry), I can go to
>the VSS Browser and say move projectA to location B and it's
>done. Is it that easy in SVN?
>
>Ed
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 27 15:42:39 2006

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.