subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1554038 - /subversion/trunk/subversion/libsvn_client/cmdline.c
Date Sun, 29 Dec 2013 15:28:09 GMT
Author: rhuijben
Date: Sun Dec 29 15:28:09 2013
New Revision: 1554038

URL: http://svn.apache.org/r1554038
Log:
* subversion/libsvn_client/cmdline.c
  (check_root_url_of_target): Check for SVN_ERR_RA_CANNOT_CREATE_SESSION
    instead of SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED, to make this function
    ra layer agnostic instead of ra local specific.

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

Modified: subversion/trunk/subversion/libsvn_client/cmdline.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/cmdline.c?rev=1554038&r1=1554037&r2=1554038&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/cmdline.c (original)
+++ subversion/trunk/subversion/libsvn_client/cmdline.c Sun Dec 29 15:28:09 2013
@@ -87,7 +87,7 @@ check_root_url_of_target(const char **ro
       if ((err->apr_err == SVN_ERR_ENTRY_NOT_FOUND)
           || (err->apr_err == SVN_ERR_WC_PATH_NOT_FOUND)
           || (err->apr_err == SVN_ERR_WC_NOT_WORKING_COPY)
-          || (err->apr_err == SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED)
+          || (err->apr_err == SVN_ERR_RA_CANNOT_CREATE_SESSION)
           || (err->apr_err == SVN_ERR_CLIENT_BAD_REVISION))
         {
           svn_error_clear(err);



Mime
View raw message