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

Re: Newbie alert: Cheap copies for tags/branches-HOW?

From: Ben Collins <bcollins_at_debian.org>
Date: 2002-02-18 18:33:26 CET

On Mon, Feb 18, 2002 at 05:05:03PM +0800, Richard CHAN Shih-Ping wrote:
>
> Folks,
>
> The documentation says to lay out my project like
> project/trunk
> project/tag
> project/branch
>
> When trunk is taggable how do you actually make a "cheap copy" or
> "clone" in the repo? Is this a server-side action or something you do in
> your working directory (and them commit)
>
> Do I copy in my working directory and then commit?
>
> Like
>
> cd project/
> svn copy trunk tag/BETA1
> svn commit

I think the only difference between a tag and a trunk is policy on your
side. IOW, you create them both the same. Tags are meant to just mark
certain milestones in the tree (say, point at which version 1.0.1 was
released). Branches on the other hand are for concurrent development.
Meaning they will change once they are created (e.g. adding new
functionality outside the main trunk, for later merging).

So using the "copy" command is the way to do either one. The difference
is only in how you use them afterwards.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:08 2006

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

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