If you take a look in the hooks directory of your repository there are two
files, pre-lock.tmpl and pre-unlock.tmpl. These default scripts do exactly
what you want. If you are on a *nix server, you can simply rename these to
pre-lock.sh and pre-unlock.sh and make them executable (chmod +x). If you
are on a windows machine, you will have to rewrite the syntax to match dos
ps. Mails from the subversion list does not automatically answer to the
list, so please include the mailinglist also. (As you can see, I made the
same mistake twice already. ;) )
Claus Sluterweg 125
2012 WS Haarlem
On Thu, Oct 29, 2009 at 4:08 PM, sunil menda <sunmenda_at_yahoo.com> wrote:
> Hi Nick,
> Thanks Nick for your quick response. Last few hours i spent looking for
> how to change the default configuration on given link such that break lock
> is not allowed in my respository. But could not find this. Can I request
> you to please point me out to how to make break lock impossible since i am
> new to SVN and Tortoise SVN.
> Thanks very much in anticipation of a quick response one more time :)
> *From:* Nick Stolwijk <nick.stolwijk_at_gmail.com>
> *To:* sunil menda <sunmenda_at_yahoo.com>
> *Sent:* Thu, October 29, 2009 7:10:25 PM
> *Subject:* Re: Break Lock allowed by other users.
> That is the default configuration of Subversion. For an explanation and a
> way of enforcing locks see the documentation.
> Nick Stolwijk
> ~Java Developer~
> IPROFS BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> On Thu, Oct 29, 2009 at 2:27 PM, sunil menda <sunmenda_at_yahoo.com> wrote:
>> Dear Sir,
>> I use Tortoise SVN.
>> I find break lock is allowed by users who haven't locked the file. Eg-
>> User A Locked, User B is allowed to Break Lock.
>> Please tell me how to prevent this.
>> Thanks in advance for your quick response.
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-29 16:20:17 CET