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 72A7119817 for ; Mon, 18 Apr 2016 18:21:50 +0000 (UTC) Received: (qmail 97345 invoked by uid 500); 18 Apr 2016 18:21:50 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 97304 invoked by uid 500); 18 Apr 2016 18:21:50 -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 97294 invoked by uid 99); 18 Apr 2016 18:21:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2016 18:21:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C1D1FC0D25 for ; Mon, 18 Apr 2016 18:21:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 46oSKBdfQPls for ; Mon, 18 Apr 2016 18:21:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5A0E35FB03 for ; Mon, 18 Apr 2016 18:21:48 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 259F9E0335 for ; Mon, 18 Apr 2016 18:21:47 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 3825C3A0216 for ; Mon, 18 Apr 2016 18:21:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1739805 - /subversion/trunk/subversion/libsvn_client/conflicts.c Date: Mon, 18 Apr 2016 18:21:45 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160418182146.3825C3A0216@svn01-us-west.apache.org> Author: stsp Date: Mon Apr 18 18:21:45 2016 New Revision: 1739805 URL: http://svn.apache.org/viewvc?rev=1739805&view=rev Log: * subversion/libsvn_client/conflicts.c (svn_client_conflict_tree_get_resolution_options): In the description of the svn_client_conflict_option_merge_incoming_added_file_text_merge option, show the file's path relative to the working copy root, instead of showing its basename. Modified: subversion/trunk/subversion/libsvn_client/conflicts.c Modified: subversion/trunk/subversion/libsvn_client/conflicts.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/conflicts.c?rev=1739805&r1=1739804&r2=1739805&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_client/conflicts.c (original) +++ subversion/trunk/subversion/libsvn_client/conflicts.c Mon Apr 18 18:21:45 2016 @@ -3998,6 +3998,7 @@ svn_client_conflict_tree_get_resolution_ const char *incoming_new_repos_relpath; svn_revnum_t incoming_new_pegrev; svn_node_kind_t incoming_new_kind; + const char *wcroot_abspath; operation = svn_client_conflict_get_operation(conflict); local_change = svn_client_conflict_get_local_change(conflict); @@ -4008,6 +4009,10 @@ svn_client_conflict_tree_get_resolution_ &incoming_new_kind, conflict, scratch_pool, scratch_pool)); + SVN_ERR(svn_wc__get_wcroot(&wcroot_abspath, conflict->ctx->wc_ctx, + conflict->local_abspath, scratch_pool, + scratch_pool)); + SVN_ERR(assert_tree_conflict(conflict, scratch_pool)); *options = apr_array_make(result_pool, 2, @@ -4096,8 +4101,11 @@ svn_client_conflict_tree_get_resolution_ svn_client_conflict_option_merge_incoming_added_file_text_merge; option->description = apr_psprintf(result_pool, - _("merge the file '%s' with '^/%s@%ld'"), - svn_dirent_basename(conflict->local_abspath, scratch_pool), + _("merge file '%s' with '^/%s@%ld'"), + svn_dirent_local_style( + svn_dirent_skip_ancestor(wcroot_abspath, + conflict->local_abspath), + scratch_pool), incoming_new_repos_relpath, incoming_new_pegrev); option->conflict = conflict; option->do_resolve_func =