[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: Bob Archer <Bob.Archer_at_infor.com>
Date: Wed, 29 Apr 2009 10:10:22 -0400

> 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.

Are you saying you want to limit the ability to access certain files to only 1 user at a time? Or, are you saying you don't think more than one person should be able to edit a form at the same time?

If the former then you can use access permissions or write pre-commit scripts to prevent people from committing certain files. If the latter then I suggest you review the svn docs and learn about WHY it is the best practice to use the Copy-Modify-Merge (http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.basic.vsn-models.copy-merge) rather than Lock-Modify-Unlock (http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.basic.vsn-models.lock-unlock) for text files. Do you have a reason to say "I don't want to allow this" other than it is different than some old SCC software you used to use?

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

I think Stefan basically already wrote the script for you in a previous message in this thread.

BOb

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

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