From 3b9f7e96381479fb03ae2c36d490a38718f71083 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 28 Jul 2013 05:04:41 +0000 Subject: Import subversion-1.8.1 into vendor staging area. --- subversion/libsvn_client/diff_local.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'subversion/libsvn_client/diff_local.c') diff --git a/subversion/libsvn_client/diff_local.c b/subversion/libsvn_client/diff_local.c index cc7184f..2dd8a1b 100644 --- a/subversion/libsvn_client/diff_local.c +++ b/subversion/libsvn_client/diff_local.c @@ -607,7 +607,10 @@ svn_client__arbitrary_nodes_diff(const char *local_abspath1, if (kind1 != kind2) return svn_error_createf(SVN_ERR_NODE_UNEXPECTED_KIND, NULL, _("'%s' is not the same node kind as '%s'"), - local_abspath1, local_abspath2); + svn_dirent_local_style(local_abspath1, + scratch_pool), + svn_dirent_local_style(local_abspath2, + scratch_pool)); if (depth == svn_depth_unknown) depth = svn_depth_infinity; @@ -627,7 +630,10 @@ svn_client__arbitrary_nodes_diff(const char *local_abspath1, else return svn_error_createf(SVN_ERR_NODE_UNEXPECTED_KIND, NULL, _("'%s' is not a file or directory"), - kind1 == svn_node_none ? - local_abspath1 : local_abspath2); + kind1 == svn_node_none + ? svn_dirent_local_style(local_abspath1, + scratch_pool) + : svn_dirent_local_style(local_abspath2, + scratch_pool)); return SVN_NO_ERROR; } -- cgit v1.1