Frank Loeffler <knarf@cct.lsu.edu>


Found
r1501163

r1501163 | stsp | 2013-07-09 04:35:12 -0500 (Tue, 09 Jul 2013)

	***********************************************************
	*** Reverted in r1501252, see r1501338 for the real fix ***
	***********************************************************

Allow 'svn checkout' to work within a working copy that is locked.
Fixes a regression from 1.7.

Reported by: Frank Loeffler <knarf{_AT_}cct.lsu.edu>
See http://svn.haxx.se/users/archive-2013-07/0066.shtml

* subversion/include/private/svn_wc_private.h
  (svn_wc__init_adm): Declare.

* subversion/libsvn_client/checkout.c
  (initialize_area): Use svn_wc__init_adm() instead of svn_wc_ensure_adm4().
   The latter scans upwards for an existing admin area to check for existing
   working copies, which we don't need to do when creating a new WC.

* subversion/libsvn_wc/adm_files.c
  (svn_wc__init_adm): New function, a thin wrapper around init_adm().
   This creates a new admin area at a specified local abspath, without
   first scanning upwards for an existing admin area. We could also have
   created svn_wc_ensure_adm5() with a new 'is_checkout' argument, but
   we're trying to reduce the public set of libsvn_wc API functions.