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

Re: What is the difference between Release and Break lock in the context menu?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 27 Oct 2008 19:06:26 +0100

Kotaro Murakami wrote:
> Hi,
>
> When I right click on a file locked in my working copy, I can see
> Release lock and Break lock in the context menu. What is the difference
> between Release and Break lock in the context menu? The both menu bring
> up the Unlock window. I thought that Break lock means "svn unlock
> --force" but the menu is only displayed for a file I have locked in my
> working copy and I don't have to unlock --force for the file to break
> lock.

The "break lock" is only available if you have the shift button down
while bringing up the context menu. It does a "unlock --force".
Even though you have the lock in your working copy, someone else could
have broken your lock (without you knowing if you haven't updated yet).
Then you have to break the others lock - that's why the menu shows up
anyway, even if you have the lock already.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-27 19:06:44 CET

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.