FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/verify.c
/* Verify that the revprops of the revisions START to END in FS can be
 * accessed.  Invoke CANCEL_FUNC with CANCEL_BATON at regular intervals.
 *
 * The values of START and END have already been auto-selected and
 * verified.
 */
Verify that the revprops of the revisions START to END in FS can be
accessed.  Invoke CANCEL_FUNC with CANCEL_BATON at regular intervals.

The values of START and END have already been auto-selected and
verified.
Verify that the revprops of the revisions START to END in FS can be accessed . Invoke CANCEL_FUNC with CANCEL_BATON at regular intervals . The values of START and END have already been auto - selected and verified .
static svn_error_t *
verify_revprops(svn_fs_t *fs,
                svn_revnum_t start,
                svn_revnum_t end,
                svn_cancel_func_t cancel_func,
                void *cancel_baton,
                apr_pool_t *pool)
{
  svn_revnum_t revision;
  apr_pool_t *iterpool = svn_pool_create(pool);
  for (revision = start; revision < end; ++revision)
    {
      svn_string_t *date;
      apr_time_t timetemp;
      svn_pool_clear(iterpool);
      SVN_ERR(svn_fs_fs__revision_prop(&date, fs, revision,
                                       SVN_PROP_REVISION_DATE, iterpool));
      if (date)
        SVN_ERR(svn_time_from_cstring(&timetemp, date->data, iterpool));
      if (cancel_func)
        SVN_ERR(cancel_func(cancel_baton));
    }
  svn_pool_destroy(iterpool);
  return SVN_NO_ERROR;
}
static svn_error_t * verify_revprops ( svn_fs_t * fs , svn_revnum_t start , svn_revnum_t end , svn_cancel_func_t cancel_func , void * cancel_baton , apr_pool_t * pool ) { svn_revnum_t revision ; apr_pool_t * iterpool = svn_pool_create ( pool ) ; for ( revision = start ; revision < end ; ++ revision ) { svn_string_t * date ; apr_time_t timetemp ; svn_pool_clear ( iterpool ) ; SVN_ERR ( svn_fs_fs__revision_prop ( & date , fs , revision , SVN_PROP_REVISION_DATE , iterpool ) ) ; if ( date ) SVN_ERR ( svn_time_from_cstring ( & timetemp , date -> data , iterpool ) ) ; if ( cancel_func ) SVN_ERR ( cancel_func ( cancel_baton ) ) ; } svn_pool_destroy ( iterpool ) ; return SVN_NO_ERROR ; }
Verify that the revprops of the revisions START to END in FS can be
 accessed.
Verify that the revprops of the revisions START to END in FS can be accessed .
/* Access the svn:date revprop.
       * This implies parsing all revprops for that revision. */ /* The time stamp is the only revprop that, if given, needs to
       * have a valid content. */