Record a flag on whether the DB was given to the access baton system, or that it was created internally. We don't want to attempt to close DBs that are provided to the batons.
Record a flag on whether the DB was given to the access baton system, or
that it was created internally. We don't want to attempt to close DBs that
are provided to the batons.

* subverison/libsvn_wc/lock.c:
  (svn_wc_adm_access_t): add the DB_PROVIDED flag
  (adm_access_alloc): accept DB_PROVIDED param and record it
  (svn_wc__adm_steal_write_lock): adjust call to adm_access_alloc, noting
    that the DB was provided in this case.
  (open_single, do_open, open_all): accept and pass along a DB_PROVIDED
    flag.
  (close_single): only perform the DB closing logic if we're allowed.
  (svn_wc_adm_open3): figure out if the DB was provided or not, and pass
    that down to open_all()
  (svn_wc__adm_pre_open): the DB was not provided, so pass FALSE to the
    adm_access_alloc function
  (svn_wc_adm_open_anchor): the DB was not provided, so pass FALSE to
    open_all and open_single, as appropriate.

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