BIG HACK. Map the incoming names from mod_dav's current scheme (NAMESPACE-ID ":" NAME) into a "normal" string for use in the FS. Also take care of the property values that mod_dav expects: they begin with a language value and contain embedded NUL characters.
BIG HACK. Map the incoming names from mod_dav's current scheme (NAMESPACE-ID
":" NAME) into a "normal" string for use in the FS. Also take care of the
property values that mod_dav expects: they begin with a language value and
contain embedded NUL characters.

This is a temporary solution. The final solution (in the next day,
hopefully) will be a reworking of the interface between mod_dav and its
backend modules (e.g. mod_dav_svn).

(dav_db{}): add a working buffer for the various remapping

(fix_name): new function to tweak a property name from the mod_dav style to
  the FS style.

(dav_svn_db_open): prep the working buffer

(dav_svn_db_fetch): if the "METADATA" pseudo-property is requested, then
  return a fake one. (we no longer store this property). remap the name via
  fix_name(). format the result value properly.

(dav_svn_db_store): don't store the "METADATA" pseudo-property. remap the
  name. handle the value reformat.

(dav_svn_db_remove, dav_svn_db_exists): remap the name.

(get_key): pass in db to do the hack-work. remap the name from the FS style
  to the mod_dav style.

(dav_svn_db_firstkey, dav_svn_db_nextkey): pass new param to get_key.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion