Author: cmpilato
Date: Fri Jul 30 00:37:34 2010
New Revision: 980617

URL: http://svn.apache.org/viewvc?rev=980617&view=rev
Log:
On the 'issue-2779-dev' branch: Uh, do what the docstring says you'll do?

* subversion/libsvn_ra/deprecated.c
  (svn_ra_open3): Just pass NULL to svn_ra_open4()'s 'corrected_url'
    parameter and return.

Modified:
    subversion/branches/issue-2779-dev/subversion/libsvn_ra/deprecated.c

Modified: subversion/branches/issue-2779-dev/subversion/libsvn_ra/deprecated.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/issue-2779-dev/subversion/libsvn_ra/deprecated.c?rev=980617&r1=980616&r2=980617&view=diff
==============================================================================
--- subversion/branches/issue-2779-dev/subversion/libsvn_ra/deprecated.c 
(original)
+++ subversion/branches/issue-2779-dev/subversion/libsvn_ra/deprecated.c Fri 
Jul 30 00:37:34 2010
@@ -157,16 +157,8 @@ svn_error_t *svn_ra_open3(svn_ra_session
                           apr_hash_t *config,
                           apr_pool_t *pool)
 {
-  const char *corrected_url;
-
-  SVN_ERR(svn_ra_open4(session_p, &corrected_url, repos_URL, uuid,
-                       callbacks, callback_baton, config, pool));
-  if (corrected_url)
-    return svn_error_createf(SVN_ERR_RA_SESSION_URL_MISMATCH, NULL,
-                             _("The repository has been moved to '%s'; "
-                               "consider relocating."), corrected_url);
-
-  return SVN_NO_ERROR;
+  return svn_ra_open4(session_p, NULL, repos_URL, uuid,
+                      callbacks, callback_baton, config, pool);
 }
 
 svn_error_t *svn_ra_open2(svn_ra_session_t **session_p,



Reply via email to