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

branches and tags question

From: <pll_at_lanminds.com>
Date: 2002-11-26 16:40:00 CET

Hi all,

I have basic revision control question, which is basically, what is
the difference between a branch and a tag?

It is my understanding that fundamentally:

        - a tag is intended to never change, and is like a snapshot
          in time of the repository in a certain state.

        - a branch starts off similar to a tag, but evolves in a
          separate manner so that after the initial creation, there
          are differences between the branch repo and the trunk repo.

Is that correct? If so, how do I create a 'tag', but then insure
that it never changes? I understand that I can:

        svn cp http://path/to/repo/trunk http://path/to/repo/tag/tag-name

However, that does not prevent me, or anyone else, from accidently checking out
http://path/to/repo/tag/tag-name, making changes, and then
re-committing it.

Do I manually set the unix-level file permissions on the repository
structure to read only after the creation or is there an svn mechanism
to do this?

Thanks,

-- 
Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 26 16:40:52 2002

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.