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

Re: TortoiseSVN 1.4.5 Issue with SVN Lock Owner column

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-11-28 16:14:24 CET

On 27/11/2007, Hautzenroeder, Brenna M <bmhautz@sandia.gov> wrote:
> I am using TortoiseSVN 1.4.5 on Windows XP. I've described my issue
> with the "SVN Lock Owner" column in Windows Explorer below:
>
> What I did: One of my coworkers locked a file "test.txt." I
> right-clicked on "test.txt" and selected "Check for modifications" under
> the TortoiseSVN menu. The "Check For Modifications" dialog comes up and
> shows that my coworker has indeed locked "test.txt." I close the
> dialog, and select "SVN update" from the pop-up menu.
>
> What I expected: I expected that "test.txt" would be updated and show my
> coworker's username in the "SVN Lock Owner" column.
>
> What happened: The file is updated with all the modifications, but the
> "SVN Lock Owner" column in Windows Explorer does not show that my
> coworker has locked the file and is empty.

All this is correct behaviour. Subversion does not preserve lock
information in the working copy unless the lock is owned by you. This
is by design as it would be misleading otherwise. Your working copy
may not have been updated for weeks so the lock info would be useless.
Check for modifications is a snapshot of the repository right now.

> I've read the mailing lists and I know that other people have
> experienced the same issue (I couldn't tell if it was with 1.4.5 or
> not). This fix would be a beneficial addition to our group - in fact,
> some people in my group are considering not using TortoiseSVN/Subversion
> just because of this exact issue alone(we have policies in place to lock
> certain files).

What you need to look at is the svn:needs-lock property which makes a
file read-only unless you own the lock.

> Any timeline you could give me for this issue would be
> greatly appreciated.

The only likely change here is to rename the explorer column from "SVN
Lock Owner" to "SVN Local Lock" so that we don't get so many 'bug'
reports ;-)

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Nov 28 16:15:04 2007

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

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