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

Re: Lock a branch

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Tue, 7 Apr 2009 13:06:27 -0400

>>>>> "Subversionator" == Subversionator <abraham.a.ehrlich_at_jpmorgan.com> writes:

 Subversionator> Move the branch to a tag. In other words, a branch
 Subversionator> is a series of revisions under the branch directory.
 Subversionator> A tag is associated with a particular revision. So
 Subversionator> if you svn mv URL/branches/yourbranch
 Subversionator> URL/tags/yourtag it won't be editable anymore.

Not true.

Subversion just deals with path names. "branch" and "tag" are just
naming conventions, they have no distinct semantics. In particular,
you can commit new revs to any pathname so long as the access controls
say that you can.

If you want to have tags in the sense of "this thing can be created
but once created can't be modified" that's easy, just set up access
controls to disallow writes other than creates. But you have to do
that, Subversion doesn't.

      paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1580038

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-07 19:07:23 CEST

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.