You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2011/05/11 18:44:22 UTC

svn commit: r1101966 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: philip
Date: Wed May 11 16:44:21 2011
New Revision: 1101966

URL: http://svn.apache.org/viewvc?rev=1101966&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (get_info_for_copy): Use relpath function to get dirname.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1101966&r1=1101965&r2=1101966&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed May 11 16:44:21 2011
@@ -3524,8 +3524,8 @@ get_info_for_copy(apr_int64_t *copyfrom_
       if (work_del_relpath)
         {
           const char *op_root_relpath;
-          const char *parent_del_relpath = svn_dirent_dirname(work_del_relpath,
-                                                              scratch_pool);
+          const char *parent_del_relpath = svn_relpath_dirname(work_del_relpath,
+                                                               scratch_pool);
 
           /* Similar to, but not the same as, the _scan_addition and
              _join above.  Can we use get_copyfrom here? */