You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Bert Huijben <be...@qqmail.nl> on 2015/06/15 14:16:56 UTC

RE: Subversion checkout issue with certain short names on Windows

For the mailinglist archive:

> -----Original Message-----
> From: Bert Huijben [mailto:bert@qqmail.nl]
> Sent: zondag 29 maart 2015 17:50
> To: 'Stephen White'; dev@subversion.apache.org
> Subject: RE: Subversion checkout issue with certain short names on Windows
> 

> It looks like a bug, but not one that we can fix in Subversion. We use the apr
> library for all our path calculations. I'm guessing that this problem occurs in the
> APR truename implementation, as after that the code to convert back from
> absolute paths back to shortnames would be affected
> 
> What do you see if you just type 'svn info API~1.IMP' for that directory. (I don't
> think this is in any way specific to checkout)
> 
> 
> The obvious workaround is of course to just use the full name instead of the
> short name.
> 
> 
> Interesting followup questions would be what version of Subversion and what
> version of apr you are using. Perhaps this issue was already fixed.

I've identified the bug in apr and posted a patch to the apr development list to fix the problem. See the ' [Patch] apr_file_path_merge returns incorrect truepath on certain 'short paths' on Windows' thread.

I hope they'll fix the problem in the next release... but I've posted multiple patches over the last year (affecting Subversion) and some of them haven't been applied yet.

	Bert



Re: Subversion checkout issue with certain short names on Windows

Posted by Branko Čibej <br...@wandisco.com>.
On 15.06.2015 14:16, Bert Huijben wrote:
> For the mailinglist archive:
>
>> -----Original Message-----
>> From: Bert Huijben [mailto:bert@qqmail.nl]
>> Sent: zondag 29 maart 2015 17:50
>> To: 'Stephen White'; dev@subversion.apache.org
>> Subject: RE: Subversion checkout issue with certain short names on Windows
>>
>> It looks like a bug, but not one that we can fix in Subversion. We use the apr
>> library for all our path calculations. I'm guessing that this problem occurs in the
>> APR truename implementation, as after that the code to convert back from
>> absolute paths back to shortnames would be affected
>>
>> What do you see if you just type 'svn info API~1.IMP' for that directory. (I don't
>> think this is in any way specific to checkout)
>>
>>
>> The obvious workaround is of course to just use the full name instead of the
>> short name.
>>
>>
>> Interesting followup questions would be what version of Subversion and what
>> version of apr you are using. Perhaps this issue was already fixed.
> I've identified the bug in apr and posted a patch to the apr development list to fix the problem. See the ' [Patch] apr_file_path_merge returns incorrect truepath on certain 'short paths' on Windows' thread.
>
> I hope they'll fix the problem in the next release... but I've posted multiple patches over the last year (affecting Subversion) and some of them haven't been applied yet.

Some of that is my fail, too. I know I've promised both you and Ivan to
get some patches into APR, and ... well, it hasn't happened. It would
help if we had a list of pending patches.

-- Brane