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

Re: [TSVN] The svn:needs-lock hint ...

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-04-21 14:41:23 CEST

Leeuw van der, Tim wrote:
> And the point in question is: *will* the server reject the commit if
> the committer doesn't hold the lock-token? Or *can* the server reject
> the commit, *if* appriopriate hook scripts have been set up?

I just used the age-old proof of trying it out. You can indeed commit
such a file without holding the lock (as long as no-one else holds the
lock either), so it is your second option. All the svn:needs-lock
property does is to set the read-only flag according to whether you hold
a lock token in your WC.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Apr 21 14:40:22 2005

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

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