subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r951515 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Date Fri, 04 Jun 2010 18:14:17 GMT
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);



Mime
View raw message