Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F86BC8A0 for ; Sat, 12 May 2012 12:49:04 +0000 (UTC) Received: (qmail 72361 invoked by uid 500); 12 May 2012 12:49:04 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 72329 invoked by uid 500); 12 May 2012 12:49:04 -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 72321 invoked by uid 99); 12 May 2012 12:49:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 May 2012 12:49:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Sat, 12 May 2012 12:49:01 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D0BEF2388978; Sat, 12 May 2012 12:48:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1337525 - /subversion/trunk/subversion/libsvn_wc/wc_db.c Date: Sat, 12 May 2012 12:48:40 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120512124840.D0BEF2388978@eris.apache.org> Author: stsp Date: Sat May 12 12:48:40 2012 New Revision: 1337525 URL: http://svn.apache.org/viewvc?rev=1337525&view=rev Log: * subversion/libsvn_wc/wc_db.c (svn_wc__db_read_conflicts): Set the 'merged_file' of a text conflict description to an absolute path, rather than just a basename. Fixes 'diff-full' during 'svn resolve' for files residing in subdirectories. 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=1337525&r1=1337524&r2=1337525&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_wc/wc_db.c (original) +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Sat May 12 12:48:40 2012 @@ -11439,7 +11439,7 @@ svn_wc__db_read_conflicts(const apr_arra if (conflict_working) desc->my_abspath = svn_dirent_join(wcroot->abspath, conflict_working, result_pool); - desc->merged_file = svn_dirent_basename(local_abspath, result_pool); + desc->merged_file = apr_pstrdup(result_pool, local_abspath); APR_ARRAY_PUSH(cflcts, svn_wc_conflict_description2_t*) = desc; }