subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1708043 - in /subversion/trunk/subversion/libsvn_repos: fs-wrap.c load-fs-vtable.c rev_hunt.c
Date Mon, 12 Oct 2015 07:24:38 GMT
Author: stefan2
Date: Mon Oct 12 07:24:38 2015
New Revision: 1708043

URL: http://svn.apache.org/viewvc?rev=1708043&view=rev
Log:
Follow-up to r1708003: Accidentally didn't set the "refresh" option.

* subversion/libsvn_repos/fs-wrap.c
  (svn_repos_fs_change_rev_prop4,
   svn_repos_fs_revision_prop,
   svn_repos_fs_revision_proplist): Always return the latest revprop data.

* subversion/libsvn_repos/load-fs-vtable.c
  (close_revision,
   revprops_close_revision): Same.

* subversion/libsvn_repos/rev_hunt.c
  (svn_repos_get_committed_info): Same.

Found by: rhuijben

Modified:
    subversion/trunk/subversion/libsvn_repos/fs-wrap.c
    subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
    subversion/trunk/subversion/libsvn_repos/rev_hunt.c

Modified: subversion/trunk/subversion/libsvn_repos/fs-wrap.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/fs-wrap.c?rev=1708043&r1=1708042&r2=1708043&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/fs-wrap.c (original)
+++ subversion/trunk/subversion/libsvn_repos/fs-wrap.c Mon Oct 12 07:24:38 2015
@@ -379,7 +379,7 @@ svn_repos_fs_change_rev_prop4(svn_repos_
           svn_string_t *old_value2;
 
           SVN_ERR(svn_fs_revision_prop2(&old_value2, repos->fs, rev, name,
-                                        FALSE, pool, pool));
+                                        TRUE, pool, pool));
           old_value = old_value2;
         }
 
@@ -450,11 +450,11 @@ svn_repos_fs_revision_prop(svn_string_t
 
       else
         SVN_ERR(svn_fs_revision_prop2(value_p, repos->fs,
-                                      rev, propname, FALSE, pool, pool));
+                                      rev, propname, TRUE, pool, pool));
     }
   else /* wholly readable revision */
     {
-      SVN_ERR(svn_fs_revision_prop2(value_p, repos->fs, rev, propname, FALSE,
+      SVN_ERR(svn_fs_revision_prop2(value_p, repos->fs, rev, propname, TRUE,
                                     pool, pool));
     }
 
@@ -488,7 +488,7 @@ svn_repos_fs_revision_proplist(apr_hash_
       svn_string_t *value;
 
       /* Produce two property hashtables, both in POOL. */
-      SVN_ERR(svn_fs_revision_proplist2(&tmphash, repos->fs, rev, FALSE,
+      SVN_ERR(svn_fs_revision_proplist2(&tmphash, repos->fs, rev, TRUE,
                                         pool, pool));
       *table_p = apr_hash_make(pool);
 
@@ -504,7 +504,7 @@ svn_repos_fs_revision_proplist(apr_hash_
     }
   else /* wholly readable revision */
     {
-      SVN_ERR(svn_fs_revision_proplist2(table_p, repos->fs, rev, FALSE,
+      SVN_ERR(svn_fs_revision_proplist2(table_p, repos->fs, rev, TRUE,
                                         pool, pool));
     }
 

Modified: subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c?rev=1708043&r1=1708042&r2=1708043&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c (original)
+++ subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c Mon Oct 12 07:24:38 2015
@@ -1014,7 +1014,7 @@ close_revision(void *baton)
           apr_array_header_t *diff;
           int i;
 
-          SVN_ERR(svn_fs_revision_proplist2(&orig_props, pb->fs, 0, FALSE,
+          SVN_ERR(svn_fs_revision_proplist2(&orig_props, pb->fs, 0, TRUE,
                                             rb->pool, rb->pool));
           new_props = svn_prop_array_to_hash(rb->revprops, rb->pool);
           SVN_ERR(svn_prop_diffs(&diff, new_props, orig_props, rb->pool));
@@ -1335,7 +1335,7 @@ revprops_close_revision(void *baton)
       prop->value = NULL;
     }
 
-  SVN_ERR(svn_fs_revision_proplist2(&orig_props, pb->fs, rb->rev, FALSE,
+  SVN_ERR(svn_fs_revision_proplist2(&orig_props, pb->fs, rb->rev, TRUE,
                                     rb->pool, rb->pool));
   new_props = svn_prop_array_to_hash(rb->revprops, rb->pool);
   SVN_ERR(svn_prop_diffs(&diff, new_props, orig_props, rb->pool));

Modified: subversion/trunk/subversion/libsvn_repos/rev_hunt.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/rev_hunt.c?rev=1708043&r1=1708042&r2=1708043&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/rev_hunt.c (original)
+++ subversion/trunk/subversion/libsvn_repos/rev_hunt.c Mon Oct 12 07:24:38 2015
@@ -171,7 +171,7 @@ svn_repos_get_committed_info(svn_revnum_
   SVN_ERR(svn_fs_node_created_rev(committed_rev, root, path, pool));
 
   /* Get the revision properties of this revision. */
-  SVN_ERR(svn_fs_revision_proplist2(&revprops, fs, *committed_rev, FALSE,
+  SVN_ERR(svn_fs_revision_proplist2(&revprops, fs, *committed_rev, TRUE,
                                     pool, pool));
 
   /* Extract date and author from these revprops. */



Mime
View raw message