You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2011/01/20 22:13:02 UTC

svn commit: r1061517 - /subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c

Author: cmpilato
Date: Thu Jan 20 21:13:00 2011
New Revision: 1061517

URL: http://svn.apache.org/viewvc?rev=1061517&view=rev
Log:
On the 'uris-as-urls' branch, review and correct some use of the
svn_uri_* APIs.  (One step of many similar ones.)

* subversion/libsvn_ra_neon/session.c
  (svn_ra_neon__open, svn_ra_neon__get_path_relative_to_root): Review,
    correct (as needed), and rename uses of the svn_uri_* API.

Modified:
    subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c

Modified: subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c
URL: http://svn.apache.org/viewvc/subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c?rev=1061517&r1=1061516&r2=1061517&view=diff
==============================================================================
--- subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c (original)
+++ subversion/branches/uris-as-urls/subversion/libsvn_ra_neon/session.c Thu Jan 20 21:13:00 2011
@@ -793,7 +793,7 @@ svn_ra_neon__open(svn_ra_session_t *sess
   const char *client_string = NULL;
   svn_revnum_t ignored_revnum;
 
-  SVN_ERR_ASSERT(svn_uri_is_canonical(repos_URL, pool));
+  SVN_ERR_ASSERT(svn_url_is_canonical(repos_URL, pool));
 
   if (callbacks->get_client_string)
     callbacks->get_client_string(callback_baton, &client_string, pool);
@@ -1149,7 +1149,7 @@ svn_ra_neon__get_path_relative_to_root(s
     }
   else
     {
-      *rel_path = svn_uri_is_child(root_url, url, pool);
+      *rel_path = svn_url_is_child(root_url, url, pool);
       if (! *rel_path)
         return svn_error_createf(SVN_ERR_RA_ILLEGAL_URL, NULL,
                                  _("'%s' isn't a child of repository root "