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 2010/06/04 20:14:17 UTC
svn commit: r951515 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: philip
Date: Fri Jun 4 18:14:17 2010
New Revision: 951515
URL: http://svn.apache.org/viewvc?rev=951515&view=rev
Log:
* subversion/libsvn_wc/wc_db.c (svn_wc__db_op_copy): Add a comment.
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=951515&r1=951514&r2=951515&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Fri Jun 4 18:14:17 2010
@@ -2477,6 +2477,12 @@ svn_wc__db_op_copy(svn_wc__db_t *db,
only copy the parent stub */
if (kind == svn_wc__db_kind_dir && !*src_relpath && *dst_relpath)
{
+ /* ### copy_tests.py 69 copies from the root of one wc to
+ ### another wc, that means the source doesn't have a
+ ### versioned parent and so there is no parent stub to
+ ### copy. We could generate a parent stub but it becomes
+ ### unnecessary when we centralise so for the moment we just
+ ### fail. */
SVN_ERR(navigate_to_parent(&src_pdh, db, src_pdh,
svn_sqlite__mode_readwrite, scratch_pool));
src_relpath = svn_dirent_basename(src_abspath, NULL);