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

Re: Locking to prevent changes to a branch?

From: John Browne <jkbrowne_at_gmail.com>
Date: 2005-06-23 04:06:14 CEST

I am also trying to accomplish this with my existing hook script. I
would like users to be able to *create* new tags, but never modify
them. I'm not 100% sure of the correct logic, though. I would like
to understand what needs to happen in the hook script regarding the
path/revision/transaction checking, etc. Many people have directed me
to the existing perl or python access-control scripts that are bundled
with subversion, but I'm trying (on purpose) to do it the hard way.

Anyone have any clues?

I would like to build this into my existing hook script, so I'm trying
to understand the logic.

On 6/22/05, Frank Gruman <fgatwork@verizon.net> wrote:
> The 'tags' tree is only static if you put permissions / access control on
> that part of the tree to keep users from modifying it. According to the
> docs, standard operating procedure says to make it static, but I found out
> the hard way that if you don't set the right permissions, some developer may
> accidentally check back into that tree.
>
> Regards,
> Frank
>
>
> kfogel@collab.net wrote:
> Servico Tpd Rodrigo Alfonso Menezes Madera <tpd.madera@telefonica.com.br>
> writes:
>
>
>
> Sorry for this stupid question, but isnt the tags suposed to be static?
> (such as releases or something like that).
>
> Im still studying these subversion branch stuff. Thanks for the light.
>
> Yes. I thought that's what was wanted, though?
>
>
> -K
>
>
>
>
> kfogel@collab.ne
> t Para: "O'Hearn, Mike" <Mike.OHearn@jenzabar.net>
> Enviado Por: cc: users@subversion.tigris.org
> kfogel@newton.ch Assunto: Re: Locking to prevent changes to a branch?
> .collab.net
>
>
> 22/06/2005 18:49
> Responder a
> kfogel
>
>
>
>
>
> "O'Hearn, Mike" <Mike.OHearn@jenzabar.net> writes:
>
>
> I want to prevent from accidental changes to an old branch. We are new to
> subversion and I find that a lot of people accidentally work in the wrong
> working copy.
>
> Is locking the entire branch a good solution? Any downsides to this? Any
> other suggestions?
>
> It's a good solution, but consider moving that branch to the 'tags/'
> directory and locking it down there. I believe svnbook.red-bean.com
> goes into detail on this.
>
> -Karl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 23 04:07:51 2005

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