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

Re: little help with adding trunk folder in repository

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Mon, 30 Mar 2009 12:25:56 +0100

2009/3/30 Foppe Hoekstra <foppe_at_hoekstra-co.nl>:
> Hi There,
>
> The last time I tried to move my repository I didn't succeed, my repository was unusable and had to restart all over again. So hereby I ask for a little help.
>
> My problem is that I whant to use tagging, but not yet used and setup a trunk folder. So Basiscally I need to move the repository...

No, you just need to reorganise it internally.

> Currently I use tortoise svn 1.5.7. Consider the project called New_design, I think the procedure to follow through would be:
>
> 1- perform commit first
> 2- use tortoise repo browser, to add trunk folder next to New_design
> 3- use tortoise repo browser to move New_design into trunk

Good so far ...

> 4- at last use relocate on your working copy to change references in your local working copy.

No, you need to use switch here instead of relocate. Relocate is only
used when the repository itself is moved, perhaps to another server.
All you are doing is moving stuff inside the same repository.

> Now the design is moved. to add a tag:
>
> 5- use tortoise repo bowser to add tag folder inside trunk

It is better to make tags at the repository root level rather than
inside trunk. If someone checks out trunk then they would not expect
to get all the tags as well.

> 6- use tortoise repo bowser to add release_v1.0 folder inside tag    (Do I need to do this manually?)

No, this step is not required.

> 7- use tortoise branche/tag command to create a tag and point to     <svnrepofolder>/trunk/tag/release_v1.0.

branch/tag will create the directory for you, so point to
<repository>/tags/release_v1.0. If your repository will contain other
designs you might want to call it something like
<repository>/tags/New_design/release_v1.0, otherwise when you look at
the tags folder you see release_v1.0 but you don't know what project
it is.

> I think this should do the trick, but I want to be sure. Could someone please verify this?
> Maybe I miss something or have to keep something in mind, or be aware of something?

A good way of testing this sort of thing is to create a temporary
local repository for testing and use file:// to access it. Put some
dummy content in it and then try doing the steps you want to test to
see if the result is what you expect.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1480918
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-30 13:27:40 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.