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

Re: svn up --depth empty breaks working copy

From: David Glasser <glasser_at_davidglasser.net>
Date: Wed, 28 May 2008 22:31:51 -0700

On Wed, May 28, 2008 at 10:30 PM, David Glasser
<glasser_at_davidglasser.net> wrote:
> On Wed, May 28, 2008 at 10:07 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>> David Glasser wrote:
>>> On Wed, May 28, 2008 at 1:44 PM, Stefan Küng <tortoisesvn_at_gmail.com>
>>> wrote:
>>>> On Wed, May 28, 2008 at 10:33 PM, Stefan Küng <tortoisesvn_at_gmail.com>
>>>> wrote:
>>>>> Hi,
>>>>> Using a build from the 1.5.x branch of svn (built about 4 hours ago) on
>>>>> Windows Vista, repository on apache 2.0, svn 1.4.6, Windows Vista:
>>>>> $ svn co https://server/repo/test/trunk testwc
>>>>> $ cd testwc
>>>>> $ svn up -r1 file --depth empty
>>>>> At revision 1.
>>>>> $ svn up
>>>>> svn: Checksum mismatch for 'file'; expected: '....', actual: '....'
>>>>> The same sequence appears to work with file:/// access instead of https.
>>>> Ups: forgot to mention that the file must have the svn:needs-lock
>>>> property set (and therefore be readonly).
>>> Do you know if this is related to the TSVN issue reported recently
>>> here with updating locked files?
>> Yes. I finally found a way to reproduce the issue reported on the TSVN list
>> with the command line client so I'm reporting it here.
>>> Also, does it occur with 1.5.x servers or only with old servers?
>> I'm sorry, but I don't have an 1.5.x server ready here to test. Maybe
>> someone else has one ready and can try the above sequence and see if it
>> happens there too?
> I'm working on it. A more complete recipe would be nice though; for
> example, in what revision is the svn:needs-lock property set? (In r1?
> After r1? In the revision that is checked out originally or an
> earlier one? Is it unset later?)

And in fact my first attempt to reproduce based on your description
didn't work. This seems like a really nasty bug, but I'd really like
a full script, or at least an answer to those questions.


David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-29 07:32:05 CEST

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

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