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

Re: Does uris-as-urls break ra_svn on Windows?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 28 Jan 2011 10:28:56 -0500

Committed this fix in r1064731.

On 01/28/2011 10:26 AM, C. Michael Pilato wrote:
> Bert and I independently arrived at this patch, which he and Paul are testing:
>
> Index: subversion/svnserve/serve.c
> ===================================================================
> --- subversion/svnserve/serve.c (revision 1064439)
> +++ subversion/svnserve/serve.c (working copy)
> @@ -2998,9 +2998,9 @@
> svn_path_remove_components(url_buf,
> svn_path_component_count(b->fs_path->data));
> b->repos_url = url_buf->data;
> - b->authz_repos_name = svn_fspath__is_child(root, repos_root, pool);
> + b->authz_repos_name = svn_dirent_is_child(root, repos_root, pool);
> if (b->authz_repos_name == NULL)
> - b->repos_name = svn_fspath__basename(repos_root, pool);
> + b->repos_name = svn_dirent_basename(repos_root, pool);
> else
> b->repos_name = b->authz_repos_name;
> b->repos_name = svn_path_uri_encode(b->repos_name, pool);
>

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-01-28 16:29:38 CET

This is an archived mail posted to the Subversion Dev mailing list.