[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: <webpost_at_tigris.org>
Date: Tue, 28 Apr 2009 21:26:41 -0700 (PDT)

Thanks Bob for replying,
I need to lock the .aspx files to give exclusive control to the page.Otherwise anyone can access and modify-commit that file.I dont want to allow this.

I tortoise SVN there is a facility of stealing the lock,I want to disable this facility to all the users except the administrator.

The documentation which i found on net describes that it is possible from pre-lock hook.But not telling how to edit this script/hook.

So can u please tell me hoe to edit this script so that it will solve our problem

Thanks
Ashwani Singh

> > 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).
>
> This doesn't directly answer your question. But, I wonder, why are you
> using locks on .aspx files? They are not binary files and
> edit-update-commit work flow should not be a problem with these file
> types.
>
> BOb

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-29 09:47:59 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.