Paul Querna <chip@force-elite.com>


Patch
r882679, r855120

r855120 | dlr | 2005-06-13 18:52:05 +0000 (Mon, 13 Jun 2005)

* subversion/mod_dav_svn/repos.c
  (dav_svn_set_headers): Use ap_set_content_type() to write to
   request_rec->content_type per its API contract, allowing the
   AddOutputFilterByType directive to work correctly.

Patch by: Paul Querna


r882679 | hwright | 2009-11-20 19:05:42 +0000 (Fri, 20 Nov 2009)

Enable packing of revision properties into a mutable sqlite database.

Patch by: Paul Querna <chip{_AT_}force-elite.com>
          me

* build.conf
  (private-built-includes): Add generated revprops-db header.

* subversion/libsvn_fs_fs:
  Ignore the generated header.

* subversion/libsvn_fs_fs/fs_fs.c
  (REVPROPS_SCHEMA_FORMAT, upgrade_sql, path_min_unpacked_revprop,
   update_min_unpacked_revprop): New.
  (svn_fs_fs__open): Open the revprop database, if needed.
  (upgrade_body): If upgrading to a new enough format, create the revprop
    database and the min_unpacked_rev file.
  (svn_fs_fs__hotcopy): Copy over the revprop database and min unpacked file.
  (set_revision_proplist): Possibly use the revprop database, if revprops
    have been packed.
  (svn_fs_fs__revision_proplist): Same.
  (commit_body): Same.
  (svn_fs_fs__create): Create the revprop pack database.
  (pack_revprop_shard): New.
  (pack_body): Pack revision properties, if possible.

* subversion/libsvn_fs_fs/fs.h
  (PATH_MIN_UNPACKED_REVPROP, SVN_FS_FS__MIN_PACKED_REVPROP_FORMAT): New.
  (SVN_FS_FS__FORMAT_NUMBER): Bump.
  (fs_fs_data_t): Add revprop database and min unpacked value.

* subversion/libsvn_fs_fs/structure:
  Update to reflect the format bump and packed revprops.

* subversion/libsvn_fs_fs/revprops-db.sql:
  New.