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

Re: svn commit: r36894 - in trunk/subversion: libsvn_client libsvn_repos mod_dav_svn svn

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 31 Mar 2009 17:07:06 +0200

On Tue, Mar 31, 2009 at 16:51, Senthil Kumaran S <senthil_at_collab.net> wrote:
>...
> +++ trunk/subversion/libsvn_client/externals.c  Tue Mar 31 07:51:57 2009        (r36894)
>...
> @@ -813,7 +814,7 @@ handle_external_item_change(const void *
>         case svn_node_dir:
>           /* The target dir might have multiple components.  Guarantee
>              the path leading down to the last component. */
> -          svn_path_split(path, &parent, NULL, ib->iter_pool);
> +          svn_dirent_split(path, &parent, NULL, ib->iter_pool);

You can just use svn_dirent_dirname() since you aren't asking for the basename.

>...
> +++ trunk/subversion/libsvn_client/patch.c      Tue Mar 31 07:51:57 2009        (r36894)
>...
> @@ -535,7 +536,7 @@ merge_file_deleted(svn_wc_adm_access_t *
>   switch (kind)
>     {
>     case svn_node_file:
> -      svn_path_split(mine, &parent_path, NULL, subpool);
> +      svn_dirent_split(mine, &parent_path, NULL, subpool);

svn_dirent_dirname()

>       SVN_ERR(svn_wc_adm_retrieve(&parent_access, adm_access, parent_path,
>                                   subpool));
>
> @@ -776,7 +777,7 @@ merge_dir_deleted(svn_wc_adm_access_t *a
>         mdb.ctx = patch_b->ctx;
>         mdb.path_skip = path;
>
> -        svn_path_split(path, &parent_path, NULL, subpool);
> +        svn_dirent_split(path, &parent_path, NULL, subpool);

svn_dirent_dirname()

>...
> +++ trunk/subversion/libsvn_repos/authz.c       Tue Mar 31 07:51:57 2009        (r36894)
>...
> @@ -763,7 +764,7 @@ svn_repos_authz_check_access(svn_authz_t
>         }
>
>       /* Work back to the parent path. */
> -      svn_path_split(current_path, &current_path, NULL, pool);
> +      svn_dirent_split(current_path, &current_path, NULL, pool);

svn_dirent_dirname()

>...
> +++ trunk/subversion/svn/propedit-cmd.c Tue Mar 31 07:51:57 2009        (r36894)
>...
> @@ -226,7 +227,7 @@ svn_cl__propedit(apr_getopt_t *os,
>                   (SVN_ERR_ENTRY_NOT_FOUND, NULL,
>                    _("'%s' does not appear to be a working copy path"), target);
>               if (entry->kind == svn_node_file)
> -                svn_path_split(target, &base_dir, NULL, subpool);
> +                svn_dirent_split(target, &base_dir, NULL, subpool);

svn_dirent_dirname()

>...

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1496596
Received on 2009-03-31 17:07:50 CEST

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.