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

Re: [TSVN] File Locking - Bug?

From: <fe-listas_at_bol.com.br>
Date: 2005-07-18 23:22:00 CEST

I thought TSVN connects directly to the SVN server (I'm not using Apache)
but you told me it does not. So after your mail I downloaded the 1.2.0 SVN
binaries for Windows as you told me, and used the 'svn' tool to try to
lock the file the same way I did on the Linux box where SVN runs, but
this time I got the same problem as in TSVN. So the problem must be in
SVN itself or in the library and not in TSVN.

The filename isn't really important, because this bug is completly
random. Every time I get another file needing special treatment (another
comment while locking). Maybe there is a problem in how SVN stores the
locking information.

Thanks for the attention,

Björn Martins Paz

On Mon, 18 Jul 2005, SteveKing wrote:
> fe-listas@bol.com.br wrote:
>
>> I'm using SVN 1.2.1 and TSVN 1.2.1 (in fact I always use the latest TSVN
>> build).
>>
>> Sometimes I have to lock several files in the repository to work on them,
>> and often I get the following situation.
>>
>> I select some files and request to lock them (the locking window pops up).
>> I enter *no* comments, and confirm the operation. The LogDialog pops up and
>> shows me each file being locked. But then, sometimes, the process simply
>> stops. The LogDialog is still open, but nothing happens. After waiting a
>> long time, I press the cancel button and nothing happens. I then kill the
>> window. When I look at the repository, some files are locked and some are
>> not. And the file on wich the process stoped is marked as *not* being
>> locked, but on SVN it is. First I thought it was a communication error
>> between SVN and TSVN.
>
> TSVN is linked statically against the svn library. It doesn't use the svn
> client! So there's no 'communication between SVN and TSVN'.
>
>> Next I go to the CheckModifications window, and break the lock of the file
>> where the process stoped, so I may lock it again with TSVN (cause TSVN
>> doesn't knows it is locked). I then select only that file and try to
>
> When you say TSVN doesn't know it's locked: does the SVN client know that?
> Does it tell you that the file is locked when you do an
> svn st
>
>> lock it again with TSVN, but the same problem happens. The LogDialog
>
> That's not the log dialog, I guess you mean the progress dialog.
>
>> window pops up, but nothing happens. After a time I cancel/kill it. I got
>> to my Linux box and used the 'svn' tool to try to lock the file manually,
>> and it worked. Then I tried TSVN again, and it didn't. Then I
>
> Well, if you lock the file on your linux box, that doesn't mean it would work
> with the SVN client on your windows box.
> Can you please try the SVN command line client on the same machine you have
> TSVN installed? Everything else doesn't tell really anything.
>
>> tried something else. Remeber that I was not adding any comment while
>> locking the files. This time I added a comment while trying to lock that
>> file. And it worked! So I began to always add a comment while locking
>> multiple files, but then the problem happened again. I took the file where
>> the process stoped, and tried to lock it separately with the same comment I
>> tried to lock all other files together before, and it didn't work. Then I
>> tried to lock it with a different comment, and then It worked again.
>
> Do you access your repository via http(s)? If yes, check the apache error log
> - maybe there's something in there.
>
>> I really don't understand what's happening. I thought it was a SVN problem,
>> but when I used the 'svn' tool and locked the file successfully with the
>> same comment, I came to think it could maybe be a problem in TSVN.
>>
>> Resume: Sometimes, while locking a file, nothing happens. When I change the
>> comment to lock the file, it works. This happens only on TSVN, with the
>> 'svn' tool from SVN it works always.
>
> What's the name of the file that doesn't work? What's the full path?
>
> Stefan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 18 23:23:17 2005

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

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