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

Re: Setting svn:needs-lock in the Environmet

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Mon, 14 May 2012 23:25:53 +0100

On 14 May 2012 16:17, Lakshmi Vasudev <Lakshmi.Vasudev_at_npd.com> wrote:
> 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

How did you try to set that property? When I right click on a
directory and TSVN->Get lock then I get a dialog listing the files in
that directory. and you can select the ones you want to lock.

Directory locking is not supported by subversion, so it can't be
supported by any client.

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

So you uncommented one line in the config file and you are saying your
right mouse button stopped working?

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=2960567
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-05-15 00:26:19 CEST

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