You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2011/05/24 14:40:00 UTC

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

Author: julianfoad
Date: Tue May 24 12:40:00 2011
New Revision: 1127008

URL: http://svn.apache.org/viewvc?rev=1127008&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (db_op_copy_shadowed_layer): Fill in the parent relpath correctly: using
    dirname, not basename, of the path.

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=1127008&r1=1127007&r2=1127008&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Tue May 24 12:40:00 2011
@@ -3824,7 +3824,7 @@ db_op_copy_shadowed_layer(svn_wc__db_wcr
                         src_wcroot->wc_id, src_relpath,
                         dst_relpath,
                         dst_op_depth,
-                        svn_relpath_basename(dst_relpath, iterpool),
+                        svn_relpath_dirname(dst_relpath, iterpool),
                         presence_map, dst_presence));
 
       if (src_op_depth > 0)