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

Setting svn:needs-lock in the Environmet

From: Lakshmi Vasudev <Lakshmi.Vasudev_at_npd.com>
Date: Mon, 14 May 2012 08:17:07 -0700 (PDT)

Hi There,

I am reaching out to this forum to get assistance in setting up the svn: needs-lock property to the files in which our Repository is been set up.
Our goal is to enforce the locking mechanism on all SVN Repository projects in our working environment based on the following three main criteria
1.configure all users' svn client software to apply the svn:needs-lock property to all files (or at least all binary files)
2.add the svn:needs-lock property to files already in the repository.
3.configure the server to reject any commit operations on files that don't have the svn:needs-lock property.

The following will be the locking structure that we have planned to apply on all the folders in the SVN Repository
1.Create lock on the Directory and recursively apply to all the contents of the folder
2.Whenever a new project is created apply the lock to it automatically
3.When a new file is created in a folder that already has a lock,the lock property of the directory should reflect to the new file that was added
I went through the following links to set up the
mechanism but encountered few issues

http://www.gtwiki.org/mwiki/index.php?title=SVN_Locking

Issue 1:When I tried to set needs-lock on the entire folder I got an error saying cannot set svn-needs-lock on a directory

Issue 2:As,suggested in the link I uncommneted # enable-auto-props = yes in the configutation file,but after this the right click was disabled for the system.

Please let me know if I am missing out anything in the process.
Any Help in this regard is appreciable..

Thanks,

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-05-14 17:18:37 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.