Julian Foad <julian.f...@wandisco.com> writes:

> Can I have a second pair of eyes on this please?  When copy_tests.py 94
> deletes a WC directory 'A/B' and tries to copy the repos file 'iota' to
> WC path 'A/B', it the svn_wc_add_repos_file4() call fails with:
>
>   .../libsvn_client/copy.c:1570: (apr_err=155005)
>   .../libsvn_wc/update_editor.c:5572: (apr_err=155005)
>   .../libsvn_wc/lock.c:1468: (apr_err=155005)
>   svn: No write-lock in '.../copy_tests-94/A'
>
> I don't understand why svn_wc_add_repos_file4() requires this parent to
> be locked, while seven other code paths succeed:
>
>   WC-to-WC copies: (file/dir) over (file/dir)
>   repos-to-WC copy: file over file
>   repos-to-WC copy: dir over dir
>   repos-to-WC copy: dir over file

The parent would certainly have been locked in 1.6.  I think we lost
some of the lock checking early on in 1.7.

-- 
Philip

Reply via email to