Creating SVN tags in commandline

Posted: September 10, 2010 in HowTo
Tags: ,

In order to save the recently implemented release in a secure location, SVN allows to create what is called as ‘Tags’. Tag is a copy of entire production release. Tag name uniquely identifies the release version. Best practice is that after every production release, the release is tagged under the version.

To create a tag for a recently implemented release, run the following command

svn copy http://<svn server>/<application name>/trunk http://<svn server>/<application name>/tags/ -m "<description of the release>"

Example:

$ svn copy http://svn/mywebsite/trunk http://svn/mywebsite/tags/2.2.1 -m "Release 2.2.1 - added new feature"

Committed revision 688.

$

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s