[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: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-09-23 20:17:52 CEST

On Thu, 23 Sep 2004 11:07:50 -0700, Raye Raskin <rayer@pobox.com> wrote:
> 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
> salt...
> 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.)

You can use a pre-commit hook to enforce this policy by rejecting any
transactions which alter files in subdirectories of /tags.

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:21:08 2004

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