Return-Path: Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: (qmail 74953 invoked from network); 25 Apr 2010 05:53:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Apr 2010 05:53:41 -0000 Received: (qmail 66077 invoked by uid 500); 25 Apr 2010 05:53:41 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 66056 invoked by uid 500); 25 Apr 2010 05:53: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 66049 invoked by uid 99); 25 Apr 2010 05:53:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 05:53:40 +0000 X-ASF-Spam-Status: No, hits=-1888.0 required=10.0 tests=ALL_TRUSTED,AWL 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; Sun, 25 Apr 2010 05:53:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4E5FD23888CB; Sun, 25 Apr 2010 05:52:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937748 - /subversion/trunk/subversion/libsvn_wc/adm_crawler.c Date: Sun, 25 Apr 2010 05:52:58 -0000 To: commits@subversion.apache.org From: gstein@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100425055258.4E5FD23888CB@eris.apache.org> Author: gstein Date: Sun Apr 25 05:52:57 2010 New Revision: 937748 URL: http://svn.apache.org/viewvc?rev=937748&view=rev Log: Fix an erroneous use of svn_uri_is_child. * subversion/libsvn_wc/adm_crawler.c: (report_revisions_and_depths): this is dealing with relpaths, so use the right function. and since it is NOT a URI, then we don't need to decode. Found by: rhuijben Modified: subversion/trunk/subversion/libsvn_wc/adm_crawler.c Modified: subversion/trunk/subversion/libsvn_wc/adm_crawler.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_crawler.c?rev=937748&r1=937747&r2=937748&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_wc/adm_crawler.c (original) +++ subversion/trunk/subversion/libsvn_wc/adm_crawler.c Sun Apr 25 05:52:57 2010 @@ -447,11 +447,11 @@ report_revisions_and_depths(svn_wc__db_t } else { - const char *childname = svn_uri_is_child(dir_repos_relpath, - this_repos_relpath, NULL); + const char *childname = svn_relpath_is_child(dir_repos_relpath, + this_repos_relpath, + NULL); - if (childname == NULL - || strcmp(svn_path_uri_decode(childname, iterpool), child) != 0) + if (childname == NULL || strcmp(childname, child) != 0) this_switched = TRUE; else this_switched = FALSE;