[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: <hakon_at_ion.no>
Date: 2006-07-09 11:30:56 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.
>>
> A tag in Subversion is an alias for a single- or mixed-revision
> (sub-)tree of the repository.

This is a better definition, but still not entirely precise.

A Subversion-like tag is a copy of a historic tree.

A 'historic tree' is either
A) the above 3), when the source of the copy is a URL, or
B) the committer's working copy, when the source of the copy is a local
path.

Case B) is very general, because the tree may contain files and
directories of different revisions, (s)he may have removed files, added
files or changed files.

Hkon Hallingstad

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 9 12:30:18 2006

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