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

SVN is ignoring needs-lock property

From: Mun Johl <Mun.Johl_at_Emulex.Com>
Date: Mon, 28 Jul 2014 14:38:20 -0700

Hi,

I'm using:
   SNV version 1.6.17
   CentOS 6.4

I have an XML file checked in with the svn:needs-lock property set. I
verified that the permissions on the file in the filesystem do not
include write permission.

As a test, I made a small change to the file and attempted a check-in
(w/o first locking the file). To my surprise, the file update was
applied!

Is this a known bug with the version of SVN I'm using?

Are my expectations incorrect? That is, am I doing something
incorrectly if I want a user to have to lock the file prior to check-in?

Here is the output of proplist for the file in question:

------------------------------ Delimiter BEGIN --------------------------------
$ svn -v proplist test.xml
Properties on 'test.xml':
  svn:executable
    *
  svn:needs-lock
    *
------------------------------- Delimiter END ---------------------------------

Thanks,

-- 
Mun
Received on 2014-07-28 23:39:18 CEST

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

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