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

Re: Bug: get lock with update breaks working copy

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 09 May 2008 19:33:53 +0200

Dave Lawrence wrote:
> Stefan Küng wrote:
>> Dave Lawrence wrote:
>>> To reproduce
>>> - update to revision on a file, update to the previous rev (let's
>>> call this rev 1, and assume HEAD is r2)
>>> - get lock -> "locking failed becuase a new version exists! Do you
>>> want to update and try again?"
>>> - Click yes
>>> Now the file is locked, but
>>> - The entries file still states that the file is at r1
>>> - The base file is as per r1
>>> - The working copy is as per r1
>>>
>>> Now if I do "update", the entries file is updated but the others are
>>> not.
>>>
>>> While I suspect this is a generic SVN problem rather than TSVN, I
>>> can't find a command line equivalent of this scenario - svn lock
>>> simply fails on an out of date file, it doesn't offer the update.
>>>
>>> 100% reproduceable with the latest nightly.
>>
>> svn up file -r1
>> svn lock file
>> -> lock fails
>> svn up file
>> svn lock file
>>
>> That's basically the sequence TSVN executes when you do the 'lock'.
>>
>> Stefan
>>
>
> More info:
> 1) Can't reproduce this using the above command line sequence

Try
svn up file -r1
svn lock file
-> lock fails
svn up file --depth empty
svn lock file

> 2) Can't reproduce on a test repository using file:///
> 3) CAN reproduce running a test repository on svnserve 1.4.5 on Cygwin
> 4) Our main server (where I discovered this) is Apache with svn 1.3.1 on
> Linux

I think I lost it: tried to set up an svnserve test repo, but I can't
get the setup to accept commits or locks, I only get 'auth failed'.
Can you please try with the above svn client sequence and your test repo?
And make sure you're using an 1.5 svn client.

Stefan

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

Received on 2008-05-09 19:34:09 CEST

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.