[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: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Tue, 31 Mar 2009 09:32:28 +0200

On Monday 30 March 2009, Foppe Hoekstra wrote:
> The last time I tried to move my repository I didn't succeed, my repository
> was unusable and had to restart all over again.

Huh? You failed at moving a folder including its content from one location to
another?

> 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. The trunk/tags/branches folders are _inside_ the repository, so you use a
normal SVN client (like TSVN) to create them. Open the repository browser,
type in the URL of the repository and then right-click on the root in order
to create the folders there.

> 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

I think this is not necessary, but it doesn't hurt.

> 2- use tortoise repo browser, to add trunk folder next to New_design
> 3- use tortoise repo browser to move New_design into trunk

Correct.

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

No, relocate is used in order to inform a working copy that its repository has
changed location. What you want is a normal 'switch'.

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

No! The 'tags' folder is on the same level as 'trunk'! However, since the two
things trunk/tags/branches and project are independent of each other, you can
also switch them around, so you have these two common layouts:

I.
  /trunk
     /project1
     /project2
  /tags
     /project1-1.0
     /project1-1.1
     /project2-1.0
     /project2-2.0

II.
  /project1
     /trunk
     /tags
        /1.0
        /1.1
  /project2
     /trunk
     /tags
        /1.0
        /2.0

This is mostly a matter of taste.
  
> 6- use tortoise repo bowser to add release_v1.0 folder inside tag (Do I
> need to do this manually?)

There is an option to create a tag from a working copy in the context menu, so
you don't need to use the repo browser.

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2009-03-31 09:32:48 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.