subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1165782 - /subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c
Date Tue, 06 Sep 2011 18:58:34 GMT
Author: danielsh
Date: Tue Sep  6 18:58:34 2011
New Revision: 1165782

URL: http://svn.apache.org/viewvc?rev=1165782&view=rev
Log:
On the fs-successor-ids branch, repeat r1165778 for libsvn_fs_base.

* subversion/libsvn_fs_base/node-rev.c
  (svn_fs_base__create_successor, svn_fs_base__delete_node_revision,
   svn_fs_base__get_node_successors):
     Use a private API rather than its public equivalent.

Modified:
    subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c

Modified: subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c?rev=1165782&r1=1165781&r2=1165782&view=diff
==============================================================================
--- subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c (original)
+++ subversion/branches/fs-successor-ids/subversion/libsvn_fs_base/node-rev.c Tue Sep  6 18:58:34
2011
@@ -101,8 +101,8 @@ svn_fs_base__create_successor(const svn_
   /* Record the successor relationship. */
   if (bfd->format >= SVN_FS_BASE__MIN_SUCCESSOR_IDS_FORMAT)
     {
-      svn_string_t *old_id_str = svn_fs_unparse_id(old_id, pool);
-      svn_string_t *new_id_str = svn_fs_unparse_id(new_id, pool);
+      svn_string_t *old_id_str = svn_fs_base__id_unparse(old_id, pool);
+      svn_string_t *new_id_str = svn_fs_base__id_unparse(new_id, pool);
 
       SVN_ERR(svn_fs_bdb__successors_add(fs, old_id_str->data, new_id_str->data,
                                          trail, pool));
@@ -135,8 +135,8 @@ svn_fs_base__delete_node_revision(svn_fs
     {
       if (bfd->format >= SVN_FS_BASE__MIN_SUCCESSOR_IDS_FORMAT)
         {
-          svn_string_t *node_id_str = svn_fs_unparse_id(pred_id, pool);
-          svn_string_t *succ_id_str = svn_fs_unparse_id(id, pool);
+          svn_string_t *node_id_str = svn_fs_base__id_unparse(pred_id, pool);
+          svn_string_t *succ_id_str = svn_fs_base__id_unparse(id, pool);
 
           SVN_ERR(svn_fs_bdb__successors_delete(fs, node_id_str->data,
                                                 succ_id_str->data, trail,
@@ -168,7 +168,7 @@ svn_fs_base__get_node_successors(apr_arr
 {
   apr_array_header_t *all_successors, *successors;
   apr_pool_t *subpool = svn_pool_create(pool);
-  svn_string_t *node_id_str = svn_fs_unparse_id(id, pool);
+  svn_string_t *node_id_str = svn_fs_base__id_unparse(id, pool);
   base_fs_data_t *bfd = fs->fsap_data;
   int i;
 



Mime
View raw message