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

simulate labels using tortoiseSVN

From: Vosloo, Jaco <JVosloo_at_wesbank.co.za>
Date: Fri, 11 Apr 2008 21:19:35 +0200

Hi All

I have written the following how-to for use in a small development team. Please tell me if I am missing an easier method of accomplishing the same.

Regards
Jaco Vosloo

How to simulate labels in SVN using TortoiseSVN

Create your project structure as follows:
+svnroot
++ projectname
+++ trunk
+++ branches
+++ tags
++++ testing
++++ production

Create working copies on the computers mentioned below from the relevant folders:
Development machine - / projectname /trunk
Test machine - / projectname /tags/testing
Production machine - / projectname /tags/release

Usage:
On a day to day basis you should follow the following process for moving code from development to test and then to production.

Development:
Write some code on the development machine and commit it.

Release for testing:
1.Rightclick on the working copy on the development machine and select Branch/Tag.
 a.Select the ellipsis for the URL and go to the testing tag.
 b.Rightclick and Delete the testing tag.
 c.NB! Being careful not to click anywhere else, select OK.
 d.Click OK on the Copy(Branch/Tag) screen.
2.Go to the testing machine.
 a.Rightclick on the working copy and select update.
 b.Test the updated code.

Release for production:
1.Rightclick on the working copy on the testing machine and select Branch/Tag.
 a.Select the ellipsis for the URL and go to the production tag.
 b.Rightclick and Delete the production tag.
 c.NB! Being careful not to click anywhere else, select OK.
 d.Click OK on the Copy(Branch/Tag) screen.
2.Go to the production machine.
 a.Rightclick on the working copy and select update.
 b.Your site is now updated with the tested code.

Notes:
Handling multiple Production versions:
If you want to release another stable version of your code then simply add version numbers behind the tags so that your structure grows as follows.

Why is there no “overwrite existing tag” option?
Subversion does not allow you to overwrite an existing tag yet. In the meantime you have to first delete the tag and re-create it with exactly the same name otherwise your test and production working copies will have to be re-created (aka switched).

References:
http://tortoisesvn.tigris.org/servlets/ReadMsg?listName=users&msgNo=1425
http://svn.haxx.se/dev/archive-2005-05/1341.shtml

To read WesBank's Disclaimer for this email click on the following address or copy into your Internet browser:
http://www.wesbank.co.za/emaildisclaimer.asp

If you are unable to access the Disclaimer, send a blank e-mail to
emaildisclaimer_at_wesbank.co.za and we will send you a copy of the Disclaimer.
Received on 2008-04-11 21:19:48 CEST

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