Re: Checking that we have a write lock, in libsvn_wc
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 15 Nov 2012 22:35:47 +0000 (GMT)
I (Julian Foad) wrote:
> I noticed that svn_wc_copy3() and svn_wc__move2() didn't check that they
(Oops, svn_client_copy6() isn't broken, I noticed a failure because I implemented the test wrongly. svn_wc_remove_from_revision_control2()'s doc string just said "must hold a write lock" and I checked for a lock on the parent, but in fact it should check for a lock on LOCAL_ABSPATH itself if it's a WC root, else on the parent.)
> Can we do something more rigorous to ensure that we check for having a write
This question still holds.
This is an archived mail posted to the Subversion Dev mailing list.