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

RE: Information about Trunk,Branch,Tag

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Thu, 1 May 2008 08:59:23 -0400

> Hi subversion team
> i want to know when we create a subversion repository,then we
> have to create the folder name Trunk,Tags,Branches, or these will
> create during the command svnadmin create AAA .please clear
> Best Regards
> AG

It will not be automatically created for you, but you don't need to do it either. This is just a convention, that helps some people do some things. It's recommended that you make the branches/tags/trunk directories at the project level. For example, if you were Symantec, you might make something like this:

/
/BackupExec
/BackupExec/branches
/BackupExec/tags
/BackupExec/trunk (contains the active development code of BackupExec)
/Ghost
/Ghost/branches
/Ghost/tags
/Ghost/trunk (contains the active development code of Ghost)

...

Then, let's suppose you're a Ghost developer, and you reach a stable release version 13. You would do this:
        svn cp Ghost/trunk Ghost/tags/13

This way, developers are free to continue developing new things for Ghost 14 inside of trunk, while there is a "frozen" copy of 13 under tags/13

If some developers need to work on bug fixes for 13, they'd do this:
        svn cp Ghost/tags/13 Ghost/branches/13
        Do work on Ghost/branches/13, till 13.1 is ready.
        svn mv Ghost/branches/13 Ghost/tags/13.1

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin_at_patni.com and delete this mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-01 14:59:47 CEST

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

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