Matthew Baker wrote:
>>>svn info doesn't seem to behave properly when multiple ../ are used.
>>>It also behaves differently on windows and unix (Solaris)
>>
[snip]
>
> Seeing the behavior:
>
> C:\Geneos\Development\Source\EMF2\netprobe>svn info ..
> Path: ..
> URL: svn://repos/Geneos/Dev/version/Development/Source/EMF2
>
> C:\Geneos\Development\Source\EMF2\netprobe>svn info ../..
> Path: ..\..
> URL: svn://repos/Geneos/Dev/version/Development/Source
>
> C:\Geneos\Development\Source\EMF2\netprobe>svn info ../../..
> Path: ..
> URL: svn://repos/Geneos/Dev/version/Development/Source/EMF2
>
> C:\Geneos\Development\Source\EMF2\netprobe>svn info ../../../..
> Path: ..\..
> URL: svn://repos/Geneos/Dev/version/Development/Source
This appears to be an APR problem on Windows. In libsvn_subr\opt.c on line
608 we call apr_filepath_merge with apr_target as "..\..\.." (or something
similar):
apr_err = apr_filepath_merge (&truenamed_target, "", apr_target,
APR_FILEPATH_TRUENAME, pool);
and get back "../" in truenamed_target. Unfortunately, I don't follow the
processing going on in APR...can a Win32 APR expert (Brane?) look at it?
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 25 16:41:29 2005