You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/05/30 19:23:05 UTC

svn commit: r949541 - /subversion/trunk/subversion/libsvn_client/externals.c

Author: rhuijben
Date: Sun May 30 17:23:05 2010
New Revision: 949541

URL: http://svn.apache.org/viewvc?rev=949541&view=rev
Log:
* subversion/libsvn_client/externals.c
  (switch_file_external): Use local style for dirent in error.

Modified:
    subversion/trunk/subversion/libsvn_client/externals.c

Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=949541&r1=949540&r2=949541&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Sun May 30 17:23:05 2010
@@ -392,11 +392,11 @@ switch_file_external(const char *path,
             SVN_ERR(svn_wc__release_write_lock(ctx->wc_ctx, anchor_abspath,
                                                subpool));
 
-          return svn_error_createf
-            (SVN_ERR_CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED, 0,
+          return svn_error_createf(
+              SVN_ERR_CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED, 0,
              _("The file external from '%s' cannot overwrite the existing "
                "versioned item at '%s'"),
-             url, path);
+             url, svn_dirent_local_style(path, pool));
         }
     }
   else