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 2011/07/24 12:22:14 UTC

svn commit: r1150327 - /subversion/trunk/subversion/mod_dav_svn/repos.c

Author: rhuijben
Date: Sun Jul 24 10:22:13 2011
New Revision: 1150327

URL: http://svn.apache.org/viewvc?rev=1150327&view=rev
Log:
* subversion/mod_dav_svn/repos.c
  (prep_private): Make not finding a txn resource a 404 error to allow aborting
    transactions more than once without producing errors on client and server.
    (Neon and serf accept a 404 as ok for an abort, but that only works if the
     server really reports a 404.).

Modified:
    subversion/trunk/subversion/mod_dav_svn/repos.c

Modified: subversion/trunk/subversion/mod_dav_svn/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/repos.c?rev=1150327&r1=1150326&r2=1150327&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/repos.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/repos.c Sun Jul 24 10:22:13 2011
@@ -1063,7 +1063,7 @@ prep_private(dav_resource_combined *comb
             {
               svn_error_clear(serr);
               comb->res.exists = FALSE;
-              return dav_svn__new_error(pool, HTTP_INTERNAL_SERVER_ERROR, 0,
+              return dav_svn__new_error(pool, HTTP_NOT_FOUND, 0,
                                         "Named transaction doesn't exist.");
             }
           return dav_svn__convert_err(serr, HTTP_INTERNAL_SERVER_ERROR,