About the Steal Lock Option

144 views
Skip to first unread message

Tolga Tolunay

unread,
Feb 19, 2010, 4:28:56 AM2/19/10
to us...@tortoisesvn.tigris.org
Hi everyone! I wonder anyone knows about how to disable "steal the lock" option and "how can we set the files to warn user that the file is already locked by another person" in Tortoise SVN.

Best Regards,

Tolga TOLUNAY

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2449044

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Andy Levy

unread,
Feb 19, 2010, 6:09:47 AM2/19/10
to us...@tortoisesvn.tigris.org
On Fri, Feb 19, 2010 at 04:28, Tolga Tolunay <ttol...@proya.net> wrote:
> Hi everyone! I wonder anyone knows about how to disable "steal the lock" option and "how can we set the files to warn user that the file is already locked by another person" in Tortoise SVN.
>

Not via TortoiseSVN. You need to configure the pre-lock hook script in
your repository to disallow stealing. I think the default template
that appears in every repository is an example of exactly that.

By default Subversion gives the message you're asking for when one
attempts to lock an already-locked file, as long as they aren't
attempting to steal the lock.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2449065

Tolga Tolunay

unread,
Feb 19, 2010, 6:19:49 AM2/19/10
to us...@tortoisesvn.tigris.org
Dear Andy,

Thanks a lot for the info. I will work on that.

Best Regards,

Tolga TOLUNAY

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2
449065

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2449066

Reply all
Reply to author
Forward
0 new messages