You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/07/15 10:23:06 UTC
svn commit: r1147013 - in /subversion/branches/fs-progress/subversion:
include/svn_repos.h libsvn_fs_fs/fs_fs.c
Author: danielsh
Date: Fri Jul 15 08:23:06 2011
New Revision: 1147013
URL: http://svn.apache.org/viewvc?rev=1147013&view=rev
Log:
On the fs-progress branch, follow-up to r1147012.
* subversion/include/svn_repos.h
(svn_repos_notify_t): Constify the PROGRESS_STAGE member.
Modified:
subversion/branches/fs-progress/subversion/include/svn_repos.h
subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c
Modified: subversion/branches/fs-progress/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/branches/fs-progress/subversion/include/svn_repos.h?rev=1147013&r1=1147012&r2=1147013&view=diff
==============================================================================
--- subversion/branches/fs-progress/subversion/include/svn_repos.h (original)
+++ subversion/branches/fs-progress/subversion/include/svn_repos.h Fri Jul 15 08:23:06 2011
@@ -331,7 +331,7 @@ typedef struct svn_repos_notify_t
see svn_fs_progress_notify_func_t. */
apr_int64_t progress_progress;
apr_int64_t progress_total;
- svn_fs_progress_info_t *progress_stage;
+ const svn_fs_progress_info_t *progress_stage;
/* NOTE: Add new fields at the end to preserve binary compatibility.
Also, if you add fields here, you have to update
Modified: subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c?rev=1147013&r1=1147012&r2=1147013&view=diff
==============================================================================
--- subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/branches/fs-progress/subversion/libsvn_fs_fs/fs_fs.c Fri Jul 15 08:23:06 2011
@@ -7800,7 +7800,7 @@ verify_walker(representation_t *rep,
struct rep_state *rs;
struct rep_args *rep_args;
- if (vb->progress_func && (vb->reps_seen++ % 1024 == 0))
+ if (vb->progress_func && (vb->reps_seen++ % 2 == 0))
vb->progress_func(vb->reps_seen, reps_count, NULL,
vb->progress_baton,
scratch_pool);