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

Get exclusive lock

From: Oliver Fabelo <ofabelo_at_canarias.org>
Date: Mon, 3 Mar 2008 10:20:24 -0000

Hello,

I have some colleagues who work with vss and I want change to svn (they are
losing data xD). They use binary files (word documents, crystal reports, .),
and I want that they can work with exclusive locks in svn like vss works .
I've read http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html (Lock
Communication part). We work under Windows, with svn and Tortoise client.
I've put in each client (in Tortoise config file) that each file was created
with svn:needs-lock property, it works ok. When a user wants write in a
file, he needs "get lock" the file, it works ok too. But now, the problem .
A user, for oversight, can open a file and start to write (the file is in
read-only mode), he forgets "get lock" the file, and when he finishes, he
couldn't write in the file. I want that a user when opens a file (it's with
svn:needs-lock property), it displays a message saying that the file is
read-only and requires "get block". This is the only thing which my
colleagues do not want to go svn . (no comments).

I always say them that each file needs "get lock" for writing in it, but
they say me that they can forget do it . (no comments again xD)

Thanks beforehand.

 

P.D.: I have svn 1.4.6 and Tortoise 1.4.7.

 

Cheers.
Received on 2008-03-03 11:17:59 CET

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.