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

Re: Re: [TSVN] Feature Request: break lock from repo browser

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 15 Jul 2011 13:46:04 +0100

On 15 July 2011 13:18, Janaki <janaki.venkitasubramanian_at_gmail.com> wrote:
> Hi,
>
> My question is also related to the Break Lock option which is visible on the Repository Browser.
> Can this option be made available only when the admin logs in. Some kind of super user should only have the rights to Break the lock.
> If I am not mistaken the lock option is used only when we don't want some other user to work parallel on the same file.
> Can you guide me some work around, as in my case I cannot have parallel development and neither can use the branching feature. I was some enforcement in terms of locking a file by only one user. Only that person working on that file and once the work is finished, commit and unlock the file for other user to work on. This Break lock on the repo browser option allows other user to take it before the unlock itself.

You cannot enforce anything from the client - someone can just use a
different client. You need to add server side hooks which only allow
named people to break locks. Take a look in the subversion book to
find out about repository hook scripts.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2794242
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-15 14:46:11 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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