Den tis 28 maj 2024 kl 17:58 skrev Timofey Zhakov <t...@chemodax.net>:

> Hello,
>
> I found a little bug with slashes in paths of the svn proplist output;
> this patch would fix it.
>
> [[[
> Fix bug: svn proplist command prints slashes of incorrect style.
>
> If the proplist command is invoked from a working copy, but it has to make
> a
> request to a server, it will print paths in internal style.
>
> Command to reproduce:
> C:\> svn proplist -r HEAD svn-trunk
> Properties on 'https:\\svn.apache.org\repos\asf\subversion\trunk':
>   svn:auto-props
>   svn:ignore
>   svn:mergeinfo
>
> Expected output:
> -Properties on 'https:\\svn.apache.org\repos\asf\subversion\trunk':
> +Properties on 'https://svn.apache.org/repos/asf/subversion/trunk':
>    svn:auto-props
>    svn:ignore
>    svn:mergeinfo
>
> * subversion/svn/proplist-cmd.c
>   (proplist_baton_t): Remove is_url field.
>   (proplist_receiver_xml, proplist_receiver): Use the svn_path_is_url()
>    instead of the field from a baton to determine if the path url or not.
>   (svn_cl__proplist): Do not initialize the is_url field of the baton.
> * subversion/tests/cmdline/prop_tests.py
>   (list_remote_props_by_path): New test.
>   (test_list): Run new test.
> ]]]
>

Oh, nice catch. I assume this requires Windows for proper testing so I'll
try to do it.

(I know I still have your editorconfig test on my todo list but I was away
for most of last week but now I'm back and will try to find some time).

Kind regards,
Daniel

Reply via email to