Peter McNab wrote:
> Sven wrote:
>> 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
>> +---testProgram
>> \---src
>>
>> How do I restructure project_A's structure within the repository
>> 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
>> TortoiseSVN? Can I do this in the RepoBrowser?
>>
>> Ed
>>
> You can create the new structure in your existing up todate WC,
> initially leaving the existing file set where it currently is.
> Commit the new structure from the root folder.
> Update just to be sure.
> Then open a second explorer view and browse you old file set , select
> files and drag (svn Move) to them to the required new structure.
> Finally when you have everything in place and have double checked its
> as you desire then commit from the root folder
> Bingo all done. The file history will be preserved (assuming you are
> using a recent version of TortoiseSVN i.e. within the last 12 months
> or so.
>
> Peter
>
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: users-help@tortoisesvn.tigris.org
>
When you say "Then open a second explorer view...." do you mean Windows
File Explorer or the repo browser or...?
Ed
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Dec 22 16:28:54 2006