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

Re: I, too, miss tags.

From: Vincent Starre <vstarre_at_comcast.net>
Date: 2006-02-24 16:25:29 CET

Kent Borg wrote:

>Another former CVS users here, one who likes subversion but one who
>also finds the lack of tags unnerving.
>
>One thing I have is a tags.txt file (that I also keep in subversion),
>and in it I keep notes. For some notable versions (e.g., "New feature
>X is working, I think") I note the date and version number along with
>a short comment.
>
>-kb
>
>

Oh come on, just because svn's tags are a bit longer than CVS's is no
reason to ignore every one of svn's helpful features at once :)

To make the tag, do this (and write a good log message about why you're
doing it)
svn cp svn://repos/path/to/trunk svn://repos/path/to/tags/feature-X-stable

To look for it just as you would in your text file, do this:
svn log svn://repos/path/to/tags | less
(a simple post-commit hook can modify log messages for you to always
include a summary of the relevent paths in log messages comitted to the
tags directory)

or if your tag-names are descriptive enough already:
svn ls svn://repos/path/to/tags

And of course all can be nicely wrapped in a very short script, allowing
you to add lots of random features like adding svntag:description
features or such.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 16:35:19 2006

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