Return-Path: Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: (qmail 69619 invoked from network); 4 Jun 2010 18:14:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Jun 2010 18:14:41 -0000 Received: (qmail 77044 invoked by uid 500); 4 Jun 2010 18:14:41 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 77029 invoked by uid 500); 4 Jun 2010 18:14:41 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 77022 invoked by uid 99); 4 Jun 2010 18:14:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 18:14:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jun 2010 18:14:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 01C6D23889B2; Fri, 4 Jun 2010 18:14:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r951515 - /subversion/trunk/subversion/libsvn_wc/wc_db.c Date: Fri, 04 Jun 2010 18:14:17 -0000 To: commits@subversion.apache.org From: philip@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100604181418.01C6D23889B2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);