On Tue, Mar 24, 2015 at 2:44 AM, aravind aapl <aravind_at_aaplweb.com>
wrote:
>
> Hi,
>
>
> is there permanent Lock using in torotise svn. I ment is i'm using
> VisualSVN i lock file suing svn:needslock but it can be steal lock
> and user can edit and upload so is there any way that must not edit
> the file, there is option in hook script but it is heavily manually
> things need to be done so pls if got any answere for these pls let me
> know.
>
>
You will need to install a server-side hook to disallow stealing locks
from other people (I'd suggest allowing a user to steal their own lock
at the very least). But, do you really need to?
First, consider the purpose of a lock in svn: it is a communication
mechanism, telling others "hey, I'm modifying this file, don't edit it
because if you do, one of us will have a hard time merging later".
If you have a problem with team members habitually stealing locks from
each other, then your problem is with team communication and basic
respect for each other, it is not a problem with the tool.
Second, consider reasons why it can be beneficial to break or steal a
lock held by someone else. Consider when a person goes on a 3-week
vacation, and the day they leave, a must-fix bug comes up in a file they
have locked. Or, consider when someone leaves the company, and forgets
to unlock some files before they go. In these cases, you really NEED to
be able to steal a lock.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3108061
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-03-24 16:12:19 CET