/[Apache-SVN]
ViewVC logotype

Revision 1501163


Jump to revision: Previous Next
Author: stsp
Date: Tue Jul 9 09:35:12 2013 UTC (11 years, 5 months ago)
Changed paths: 3
Log Message:
	***********************************************************
	*** 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.


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/private/svn_wc_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/checkout.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/adm_files.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26