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

Re: [PATCH] A test for "Can't get entries" error

From: Julian Foad <julianfoad_at_apache.org>
Date: Tue, 20 Nov 2018 08:38:30 +0000

> Dmitry Pavlenko wrote:
>> Hello Subversion community!

Hello Dmitry! Thanks for finding this. I confirm it.

>> I've run into an error: when performing 2 specially constructed updates one after another
>> within the same session, SVN fails with
>> $ ./ra-test 15
>> svn_tests: E160016: Can't get entries of non-directory
>> XFAIL: ra-test 15: check that there's no "Can't get entries" error
>> error. I believe these updates constructed that way are valid, so the problem is
>> somewhere in FSFS code.

I agree.

Daniel Shahaf wrote:
> Could you please clarify whether the bug reproduces under other backends
> (FSX and BDB)?

I found that the test passes under FSX and BDB; it only fails under FSFS.

I found that the RA method (local, svn, serf) makes no difference.

> You make all commits using the same EDITOR. Is that allowed?

I found that it doesn't affect the outcome, in this case.

(Generally, as Brane said, it's undocumented and not a good idea. The attached version of the patch, 'cant_get_entries_test-j1.patch', uses a separate editor for each edit.)

- Julian

Received on 2018-11-20 09:38:43 CET

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.