You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Abdul Ghafoor <il...@hotmail.com> on 2008/04/30 07:50:04 UTC

Information about Trunk,Branch,Tag

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
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

RE: Information about Trunk,Branch,Tag

Posted by "Harvey, Edward" <Ed...@patni.com>.
> 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@patni.com and delete this mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Information about Trunk,Branch,Tag

Posted by Andy Levy <an...@gmail.com>.
On Wed, Apr 30, 2008 at 3:50 AM, Abdul Ghafoor <il...@hotmail.com> wrote:
>
>  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

You have to create it as it's not a "default" configuration, it's
merely a guideline. See The Book (http://svnbook.org/).

You can check for yourself using svnadmin create on any computer with
Subversion installed on it

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org