Author: stsp
Date: Mon Apr  4 22:58:31 2011
New Revision: 1088817

URL: http://svn.apache.org/viewvc?rev=1088817&view=rev
Log:
* subversion/libsvn_client/patch.c
  (svn_client_patch): Print the path to the patch file if it is found missing,
   instead of the dirname. svn_dirent_local_style() was clearly intended to
   be used here instead of svn_dirent_dirname().

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

Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=1088817&r1=1088816&r2=1088817&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Mon Apr  4 22:58:31 2011
@@ -2753,7 +2753,8 @@ svn_client_patch(const char *patch_abspa
   if (kind == svn_node_none)
     return svn_error_createf(SVN_ERR_ILLEGAL_TARGET, NULL,
                              _("'%s' does not exist"),
-                             svn_dirent_dirname(patch_abspath, scratch_pool));
+                             svn_dirent_local_style(patch_abspath,
+                                                    scratch_pool));
   if (kind != svn_node_file)
     return svn_error_createf(SVN_ERR_ILLEGAL_TARGET, NULL,
                              _("'%s' is not a file"),


Reply via email to