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

Re: Tags: What is a tag? [was: Tags]

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-07-09 10:44:42 CEST

Danny van Heumen wrote:
> Because of different concepts of 'tags' I would like to come to a
> general understanding. I've found these different views while browsing
> through the mailing list archives.
> (Mainly in the thread "Tags and branches are NOT the same" starting
> here: http://svn.haxx.se/dev/archive-2006-03/0865.shtml)
>
> Tag is:
> 1. An alias for a revision number.
> a) Single revision
>
> 2. An alias for multiple revision numbers.
> a) Multiple revisions.
>
> 3. An alias for a revision number for a specific location.
> a) Single revision
> b) Specific location
>
> 4. An alias for a collection of revisions for a specific location.
> a) Multiple revisions.
> b) Specific location.
>
> 5. An alias for a collection of revisions for a specific location with a
> possibility for adding non-versioned files (and folders etc.)
> a) Multiple revisions.
> b) Specific location.
> c) Versioned + non-versioned files.
>
> If I understand correctly Subversion currently supports the fifth
> concept, which is also the most extensive.
>
There is no such thing as a non-versioned file in Subversion, so they
can't be part of a tag.

A tag in Subversion is an alias for a single- or mixed-revision
(sub-)tree of the repository. That fits both 1) and 3) above. I don't
know about 2) and 4) because I'm not sure what you mean by "multiple
revision numbers"; a revision number isn't an object in the repository,
it's just a name for a version of the tree. You certainly can't include
several versions of the same object in a tag, but you can include
different objects at different revisions.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 9 10:45:12 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.