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

Tags

From: <hakon_at_ion.no>
Date: 2006-06-29 00:41:36 CEST

Hi,

I have implemented support for CVS-like tags, and would like to know
whether anybody finds it useful.

The idea is that a tag is an alias for a revision.

The basic command is 'tag':
$ svn tag version-1.0 -r 20120
and then it is possible to issue commands like:
$ svn update -r version-1.0

There are also commands for listing all tags (tags), and for deleting a
tag (untag).

Tags are stored as revision properties on revision 0 with the (implicit)
prefix "svn:tag:".

I have searched the mailing list archives, and have found "tags"/"labels"
to be a popular topic - this must be because many people believe
Subversion is missing a simple tag feature.

I have put the diff of the code against r20288 in the attachment.

It should fairly easy to add author & date with the revision number for a
tag in the revision property value, e.g. in the format REV\tDATE\tAUTHOR.

By restricting the use of 'untag', perhaps even removing it, it will be
difficult to remove tags. And it will be possible to see when and who last
changed the tag (by the date and author information).

Regards,
Håkon Hallingstad

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Jun 29 01:41:15 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.