s...@apache.org writes: > Author: stsp > Date: Tue Sep 25 13:10:00 2012 > New Revision: 1389851 > > URL: http://svn.apache.org/viewvc?rev=1389851&view=rev > Log: > Fix commit from multiple working copies which are nested within an unrelated > working copy. > > This patch fixes commit_test 26 on the 1.7.x branch when run within > a format 30 working copy (backport nomination will follow).
> + /* When committing from multiple WCs, get the RA editor from > + * the first WC, rather than the BASE_ABSPATH. The BASE_ABSPATH > + * might be an unrelated parent of nested working copies. > + * We don't support commits to multiple repositories so using > + * the first WC to get the RA session is safe. */ > + if (lock_targets->nelts > 1) > + ra_session_wc = APR_ARRAY_IDX(lock_targets, 0, const char *); > + else > + ra_session_wc = base_abspath; > + Is that more complicated than necessary? I think we can use APR_ARRAY_IDX(lock_targets, 0, const char *) all the time. -- Join us this October at Subversion Live 2012 http://www.wandisco.com/svn-live-2012