subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1500074 - /subversion/trunk/subversion/libsvn_client/switch.c
Date Fri, 05 Jul 2013 17:21:09 GMT
Author: danielsh
Date: Fri Jul  5 17:21:09 2013
New Revision: 1500074

URL: http://svn.apache.org/r1500074
Log:
Properly format the error message during unintended switches.

* subversion/libsvn_client/cmdline/switch.c
  (switch_internal): Use local style for paths when formatting the "no common
    ancestry" error message.

Patch by: Evgeny Kotkov <evgeny.kotkov{_AT_}visualsvn.com>

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

Modified: subversion/trunk/subversion/libsvn_client/switch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/switch.c?rev=1500074&r1=1500073&r2=1500074&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/switch.c (original)
+++ subversion/trunk/subversion/libsvn_client/switch.c Fri Jul  5 17:21:09 2013
@@ -239,7 +239,7 @@ switch_internal(svn_revnum_t *result_rev
         return svn_error_createf(SVN_ERR_CLIENT_UNRELATED_RESOURCES, NULL,
                                  _("'%s' shares no common ancestry with '%s'"),
                                  switch_url,
-                                 svn_dirent_dirname(local_abspath, pool));
+                                 svn_dirent_local_style(local_abspath, pool));
     }
 
   wcroot_iprops = apr_hash_make(pool);



Mime
View raw message