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

Re: TSVN - Problem with locked and unmodified files

From: David Reher <David.Reher_at_gmx.de>
Date: Thu, 18 Mar 2010 14:36:30 +0100

Hi!

I am having the same problem with a newer version. Manual/Readme says: "To
make sure you don't forget to release a lock you don't need any more,
locked files are shown in the
commit dialog and selected by default. If you continue with the commit,
locks you hold on the selected
files are removed, even if the files haven't been modified."

I think this is a bug! It would be very kind of you to fix the
documentation or tortoise!

used: TortoiseSVN 1.6.7, Build 18415 on: win2000pro

Greetings!
David

Przemek wrote:

            Hi all,

I have a (little) problem with file locking:

In the TortoiseSVN documentation it calls under &ldquo;Releasing a
Lock&rdquo;: &ldquo;If you continue with the commit, locks you hold on the
selected files are removed, even if the files haven't been modified.&rdquo;
In fact the locks are still there when the file is unmodified (TortoiseSVN
1.6.6 on a Vista-PC).

What I&rsquo;ve done:
I&rsquo;ve set the &ldquo;needs:lock&rdquo; property on a file and commit
it.
The file is now read-only (the overlay icon is grey) and I&rsquo;ve get the
lock with &ldquo;TortoiseSVN&rdquo; -> &ldquo;Get Lock&hellip;&rdquo;.
The overlay icon has the &ldquo;lock-icon&rdquo; now.
Now I want to commit the file unchanged to the repository and select
&ldquo;SVN Commit&hellip;&rdquo;.
The file is listed in the &ldquo;Changes made&rdquo; window with
&ldquo;Text status = normal&rdquo;, &ldquo;Property Status = normal&rdquo;,
&ldquo;Lock = myusername&rdquo; and the &ldquo;Keep locks&rdquo; checkbox
is unchecked.
After pushing the OK-button TortoiseSVN displays
&ldquo;Command: Commit
Finished!:&rdquo;
But the lock is still mine! The overlay icon shows still a lock and other
users get an error message when they try to get the lock.
However, the commitment of modified files works fine.

Przemek

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2461654
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-18 14:36:34 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.