Re: Cannot get info for a file that was inside of file-replaced directory
From: Julian Foad <julianfoad_at_apache.org>
Date: Mon, 25 Nov 2019 17:03:14 +0000
TL;DR: Fixed and nominated for backport.
I see it was a change I made that broke this case.
Filed as: http://subversion.apache.org/issue/4837
Test added: http://svn.apache.org/r1870393
More below...
Nathan Hartman wrote:
Yes, (2): it already checks for two error codes:
((err->apr_err == SVN_ERR_CLIENT_UNRELATED_RESOURCES) ||
we need to add:
(err->apr_err == SVN_ERR_FS_NOT_DIRECTORY) ||
Fixed: http://svn.apache.org/r1870395
This does beg the question of what is the total set of possible failure
We really ought to:
> (4) Optimization: Currently same_resource_in_head() is being called
Someone could look into the pros and cons of switching the order (query
While those follow-ups remain possible, the basic issue is fixed.
Nominated for backport to 1.10 and 1.13.
- Julian
|
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.