subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1066567 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Wed, 02 Feb 2011 18:27:02 GMT
Author: cmpilato
Date: Wed Feb  2 18:27:02 2011
New Revision: 1066567

URL: http://svn.apache.org/viewvc?rev=1066567&view=rev
Log:
* subversion/libsvn_ra_serf/util.c
  (svn_ra_serf__error_on_status): Handle 403 status specially, like
    libsvn_ra_neon does.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1066567&r1=1066566&r2=1066567&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Feb  2 18:27:02 2011
@@ -1924,6 +1924,10 @@ svn_ra_serf__error_on_status(int status_
                                      " please relocate")
                                  : _("Repository moved temporarily to '%s';"
                                      " please relocate"), location);
+      case 403:
+        return svn_error_createf(SVN_ERR_RA_DAV_FORBIDDEN, NULL,
+                                 _("Access to '%s' forbidden"), path);
+
       case 404:
         return svn_error_createf(SVN_ERR_FS_NOT_FOUND, NULL,
                                  _("'%s' path not found"), path);



Mime
View raw message