Remove the access baton TYPE field altogether in favor of a single flag which indicates whether or not the baton owns the lock.
Remove the access baton TYPE field altogether in favor of a single flag
which indicates whether or not the baton owns the lock.

* subversion/libsvn_wc/lock.c
  (svn_wc_adm_access_t): Remove TYPE and LOCK_EXISTS fields, and replace with
    a single LOCKED field.
  (adm_access_alloc): Remove type param, replace with write_lock param, alloc
    accordingly.
  (open_single, svn_wc__adm_steal_write_lock): Update callers to
    adm_access_alloc().
  (close_single, svn_wc__adm_write_check): Just check the locked flag, rather
    than the type and the lock exists cache.
  (svn_wc_adm_locked, extend_lock_found_entry): Use the locked flag, rather
    than the type.


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

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