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

BUG in update

From: Wim Bonjean <wimb_at_BUT.BE>
Date: 2006-11-14 12:33:15 CET

Hi,

 

Thank you for taking your time to have a look at this bug. I am not sure
if it is a bug in TSVN or in SVN, I report it here first.

 

Hat follows is a description of what happens, for the sake of simplicity
I have removed a part of the paths in the file paths:

 

A file that has the needs-lock property (pageframe.fla), is opened in an
application. This application locks the file so that, when we do an
update, svn can not update the file as it is locked by the application.

So we do an update and get these responses from TSVN:

 

Updated "flash\pageframe.fla" (this is the file locked by the
application)

Added "flash\test.txt"

Error In directory "flash"

Error Can't move "flash\_svn\tmp\pageframe.fla.tmp" to
"flash\pageframe.fla" : Access is denied.

 

This is all normal behavior is what I thought. But something has gone
wrong. Should the update have stopped when it noticed that the file was
locked by an application? The test.txt file was added to the directory.

Now when we close the file (pageframe.fla) in the application and update
again we get this response:

 

Error Working copy "flash" locked

Error Please execute the Cleanup command

 

Why is it locked? This is not normal right? So I do the cleanup command
and that finishes without an error.

Then I update again to get the latest update for the pageframe.fla file
and I get this response:

 

Error: Failed to add file: "flash\test.txt": object of the same name
already exists

 

Off course it exists, it was added the first time I did the update when
the other file was locked.

So when I delete that test.txt file I can update and the file gets added
again and I get an updated version of the pageframe.fla file.

This is a bug that slipped in since we updated to version 1.4 I think.

 

We are using TSVN for 6 months now and are very happy with it. Thanks
for all the great work.

 

 

Thank you,

 

Wim

  

------------------------------------------------------------------------
--------------------------
Wim Bonjean
Multimedia Developer

B*U*T nv (www.but.be
<file:///C:\Documents%20and%20Settings\wim\Application%20Data\Microsoft\
Signatures\www.but.be> )
Molenberglei 13
B 2627 Schelle
T: +32/3/880.71.71
F: +32/3/880.71.72

Multimedia Solutions ::: Industrial Video ::: Editorial Marketing
------------------------------------------------------------------------
--------------------------

 
Received on Tue Nov 14 12:41:56 2006

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.