depe/subversion/subversion/libsvn_fs_fs/fs_fs.c
/* Return the error SVN_ERR_FS_UNSUPPORTED_FORMAT if FS's format
   number is not the same as a format number supported by this
   Subversion. */
Return the error SVN_ERR_FS_UNSUPPORTED_FORMAT if FS's format
number is not the same as a format number supported by this
Subversion.
Return the error SVN_ERR_FS_UNSUPPORTED_FORMAT if FS ' s format number is not the same as a format number supported by this Subversion .
static svn_error_t *
check_format(int format)
{
  if (format == SVN_FS_FS__PACKED_REVPROP_SQLITE_DEV_FORMAT)
    return svn_error_createf(SVN_ERR_FS_UNSUPPORTED_FORMAT, NULL,
                             _("Found format '%d', only created by "
                               "unreleased dev builds; see "
                               "http://subversion.apache.org"
                               "/docs/release-notes/1.7#revprop-packing"),
                             format);
  if (1 <= format && format <= SVN_FS_FS__FORMAT_NUMBER)
    return SVN_NO_ERROR;
  return svn_error_createf(SVN_ERR_FS_UNSUPPORTED_FORMAT, NULL,
     _("Expected FS format between '1' and '%d'; found format '%d'"),
     SVN_FS_FS__FORMAT_NUMBER, format);
}
static svn_error_t * check_format ( int format ) { if ( format == SVN_FS_FS__PACKED_REVPROP_SQLITE_DEV_FORMAT ) return svn_error_createf ( SVN_ERR_FS_UNSUPPORTED_FORMAT , NULL , _ ( " " " " " " " " ) , format ) ; if ( 1 <= format && format <= SVN_FS_FS__FORMAT_NUMBER ) return SVN_NO_ERROR ; return svn_error_createf ( SVN_ERR_FS_UNSUPPORTED_FORMAT , NULL , _ ( " " ) , SVN_FS_FS__FORMAT_NUMBER , format ) ; }
Return the error SVN_ERR_FS_UNSUPPORTED_FORMAT if FS's format
number is not the same as a format number supported by this
Subversion.
Return the error SVN_ERR_FS_UNSUPPORTED_FORMAT if FS ' s format number is not the same as a format number supported by this Subversion .
/* Blacklist.  These formats may be either younger or older than
     SVN_FS_FS__FORMAT_NUMBER, but we don't support them. */ /* We support all formats from 1-current simultaneously */