[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: Subversionator <abraham.a.ehrlich_at_jpmorgan.com>
Date: Tue, 7 Apr 2009 10:23:20 -0700 (PDT)

Ok, corrected. I'm assuming that that semantic is created on the repository
side; that there's a pre-commit hook implemented, that distinguishes between
tags and branches and rejects the commit.

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks

abe

Paul Koning-4 wrote:
>
>>>>>> "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].
>
>

-- 
View this message in context: http://www.nabble.com/Lock-a-branch-tp7209400p22934082.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1580333
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-07 19:24:14 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.