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

Re: [TSVN] subversion and locks

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-09-19 00:20:45 CEST

Malte Bögershausen wrote:
> We are using locks, but it ist quite hard to notice if a file
> is locked by another user. If I'm not mistaken, with TSVN, the
> only way to see is a file is locked by another user is in the
> repo browser and with check for modifications.
>
> When there are many locks in the repository 'check for modification'
> becomes hard to overview.
>
> I often only notice that someone else has locked a file that I
> modified when trying to commit the change.

The most effective way to use locking is to use the svn:needs-lock
property as well. That way, files are read-only (and have a different
overlay) *unless* you hold a lock for that file. The work flow is then:
1. Get lock
2. Modify file
3. Commit (releases lock automatically)

If you don't use svn:needs-lock, then locking is almost useless because
it fails to stop 2 people working on the same file.

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 Mon Sep 19 00:20:36 2005

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