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

Re: I miss tags

From: Raye Raskin <rayer_at_pobox.com>
Date: 2004-09-23 20:07:50 CEST

OK. In cvs, a static tag is a snapshot. Of course, it actually
CAN be changed by forcing a cvs tag command, but in general it is
never supposed to change unless you (or preferably your boss)
sign in blood first.

In svn, there ain't no static tag, except by convention. This is
a bad idea, IMHO.

I'm relatively new to svn, so please take my idea with a grain of

Proposal (my flame suit is on):

  Make ./trunk, ./branches, and ./tags REQUIRED subdirectories, not
  just "best practices". [Is it too late for this?!!!]

  These directories are automatically created when the repository is
  created. [Does this reduce flexibility too much?]

  Let svn recognize the directory name ./tags as special. To be for
  snapshot copies only, aka static tags, and commits are disallowed,
  except perhaps with some override option, a la "cvs tag -F" (with
  blood being required, of course.)

Doing the above would also make is possible to simplify the syntax
of some svn commands to refer to "-r LABEL" (i.e., branch or tag
name, rather than having to spell out the entire URL) and have svn
do the looking for you. This would improve usability.

Of course, svn already offers "revision number" which identifies a
static, unchanging version of the repository. But, at least in cvs,
it was always deemed best to avoid dealing with absolute revision
numbers and "let cvs deal with them internally".

Ready to duck...


----- Original Message -----
From: "Sean Laurent" <sean@neuronfarm.com>
To: <users@subversion.tigris.org>
Sent: Thursday, September 23, 2004 10:32 AM
Subject: Re: I miss tags

> On Thursday 23 September 2004 12:08 pm, Walt Armour wrote:
>> For me, I think the main 'disconnect' with tags in SVN is their syntax.
>> In CVS we referenced tags as separate items using (typically) a '-r'
>> parameter or something.
>> In SVN we (typically) reference a tag using an URL to the TAGS sub-path.
> There's also the concept of 'labels', provided by software like Perforce and
> presumably others, which has been mentioned on this list before.
> In Perforce, a label is simply way to reference a particular revision... very
> similar to the CVS tag mechanism. I know this has been mentioned on the list
> before, but I'm not seeing a feature request that matches this.
> -Sean

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 23 20:08:29 2004

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