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

RE: Re: Re: Stealing/Breaking Locks

From: Ashwani Singh <kumar.winfly19_at_gmail.com>
Date: Tue, 28 Apr 2009 03:55:36 -0700 (PDT)

Hi simon,
First of all thanks for your valuable suggestions.

The scenario is that we are working on the same project which resides on the VisualSVNServer through local copies on different user systems.

Suppose there are two users A and B.

A- This user has all the administrative rights.
B- Another user.

Now,If user A locks some page named 'abc.aspx' and working on it exclusively.Now suppose B wants to do work on the same page 'abc.aspx'..he can't work/commit because the page has been locked by the user A,but he can forcefully unlock by cheking through stealing chekbox.I dont want to allow this stealing facility to user B.What will i do to this pre-lock script to block the steallocking facility to user B except the administrator(means user A).

We hope you understand our problem.

Please help us to modify the pre-lock batch file for windows for the above mentioned problem.

> 2009/4/28 Ashwani Singh <kumar.winfly19_at_gmail.com>:
> > Hi simon,Thanks for ur suggestions.
> > I have already gone through tortoisesvn.net and had a deep look of pre-lock hook script template but not able to modify the content of pre-lock and the way to invoke this script.
>
> It is a text file, so you can modify it using a text editor.
>
> If you are running the server on Windows then you need to rewrite it
> as a batch file (.bat) rather than a linux script, which is what the
> template is. It can probably be very much simpler than the template,
> but as we have no idea what you want to do we can't help you write it.
>
> > For your information I am using
> >
> >>TortoiseSVN 1.6.1
> >>AnkSVN for Integration in VS2008
> >>VisualSVN Server for repository browse
> >
> > We have tried to edit this hook but it is giving error.
>
> What error?
>
> > I hope you understand our problem.
>
> Sorry, I don't have a clue what your problem is because you haven't told us.
>
> Simon
>
> --
> : ___
> : oo // \\ "De Chelonian Mobile"
> : (_,\/ \_/ \ TortoiseSVN
> : \ \_/_\_/> The coolest Interface to (Sub)Version Control
> : /_/ \_\ http://tortoisesvn.net

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-28 12:56:09 CEST

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

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