tags:

views:

519

answers:

4

Using tortoiseSVN, how to you make tag the code?

Is the process to branch exactly the same?

I know you have to just copy the code to the /tag/ folder, but how?

i.e. I want to copy revision # to a tag#.

Will it effect the /trunk/ at all?

+1  A: 

Here's the official documentation.

Creating a tag won't affect the trunk nor your working copy (you'll still be pointing to trunk) unless you switch to the newly created tag or branch.

pgb
+1  A: 
  1. Right click on your project folder and select Branch/Tag
  2. Point the URL to whatever you want the folder to be called inside the /Tag/ folder
  3. Select Specific revision in repository and choose the one you want

It won't affect the trunk at all.

Brandon
A: 

Answers below:
The process is almost exactly the same as a branch.
A branch is a tag which is updated essentially.

Right click on the folder you want to tag, click on RepoBrowser, then branch/tag.
Modify the ToURL, with where you want to place your tag
Enter your comment/tag in the box below.
This will tag the code in the folder, without moving it.

This will not effect the trunk at all.

Bravax
+1  A: 

How to create a tag :

  1. Right click on your repository local copy
  2. Choose Create a branch or a tag...
  3. Choose url of the tag (normally at the same level that trunk you have a tags folder)
  4. Choose wich revision you want to tag (Usually, you will choose HEAD revision. Why ? Because normally tags are to mark a state of your repository typically for release management, and then when you have the repository state wished, you tag it and then continue the development.

Yes, it's almost the same process that for branches, the difference is "conceptual".

No effect to your trunk !

Matthieu