Stop using apr_dbm to manage the DAV activities database which maps DAV activity ids to Subversion transaction names.  Instead, use a simple directory structure, with MD5 checksums of activity ids as file names and transaction names as the first line. Include the activity id on a second line, as a diagnostic.
Stop using apr_dbm to manage the DAV activities database which
maps DAV activity ids to Subversion transaction names.  Instead,
use a simple directory structure, with MD5 checksums of activity
ids as file names and transaction names as the first line.
Include the activity id on a second line, as a diagnostic.

* subversion/mod_dav_svn/activity.c
  (ACTIVITY_DB): Change to 'dav/activities.d' so as not to conflict
    with the DBM file 'dav/activities'.
  (escape_activity): New helper to escape activity for safe use as a
    file name.
  (read_txn): New helper to return the txn from an activity file.
  (dav_svn__get_txn): Make this a simple wrapper around read_txn.
  (dav_svn__delete_activity): Use read_txn to get the transaction
    name; delete the file from the activities directory.
  (dav_svn__store_activity): Create the activities directory if it
    does not exist and create the activity file.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@864889 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion