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

Re: CVS/SVN comparison

From: Keven Ring <keven_at_mitre.org>
Date: 2004-10-22 20:19:53 CEST

Scott Palmer wrote:

> On Oct 22, 2004, at 1:41 PM, John Szakmeister wrote:
>
>> David F. Newman wrote:
>>
>>> On Fri, 2004-10-22 at 06:10, pushok wrote:
>>>
>>>> With your approach there NO difference between TAG and BRANCH. All
>>>> that is the COPY. One copy, called TAG we _promise_ do not change. And
>>>> that's why it is a TAG. But nothing can prevent me from modifying this
>>>> COPY. So, some "bad" developer CAN change the TAG.
>>>
>>>
>>> One can force a read-only policy on tags by making the /tags directory
>>> read-only to everyone except the release coordinator using
>>> mod_authz_svn. Then a bad developer can't change tags.
>>
>>
>> This can also be forced by using a pre-commit hook script. I made one
>> that allows you to create a tag, but you can't commit any changes
>> under it.
>
>
> In other words, you had to write your own code to work around the lack
> of this feature in subversion. :)

IIRC, CVS does not have *any* ACL built in (I know that there are
pre-commit "hooks" for CVS, but someone had to write their own code).
You are unwilling to accept what Subversion calls a "tag" as a "tag",
because it doesn't fit your definition.

There are other ways to create a "tag" without copying that ensure
immutability (eg, via properties), but then there are other issues. The
bottom line is that "tags" are an idea, and subversion provides a
recommended convention for supporting that idea. IMHO, this is better
than enforcing a single convention, and forcing everyone to fit to that
model, like it or not.

>
> I would think that subversion could support some sort of standard
> property that indicated "this copy is a tag" and then it could enforce
> the immutability of that copy in some way.

I believe that there has been a lot of discussion about "immutable
tags", primarily on the dev@ list.

>
>
> For ease of use the svn copy command could have a flag to say I'm
> making a "tag" copy, and the "tag" property would automatically be set
> on the copy.

I believe that such a request should go to the dev@ list, since users@
doesn't really vote on what should be changed.

-- 
Keven Ring               | "Oh no,  Not Again..."
The MITRE Corporation    |   Bowl of Petunias -
7515 Colshire Drive      |   The Hitchhikers Guide to the Galaxy
McLean VA 22102-7508     |
PH: (703)883-7026        |
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 22 20:21:10 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.