[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 17:33:42 CEST

> hakon@ion.no wrote:
>>> 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.
>>
> For the purpose of this discussion, the difference between "copy" and
> "alias" is so small that I can't tell them apart. :)

Certainly, but that's not the difference between our definitions. The
difference is the part of case B) that is about additions, removal and
changes to files and directory in the working copy of the committer. The
tag will include these changes, even though they may never have been
(otherwise) committed to the repository.

Håkon 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 18:33:03 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.