can't delete a locked file over ra_dav
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-24 23:04:39 CET
I've got a nasty bug here, hoping gstein can step in and clarify.
The scenario is simple: I'm trying to commit the deletion of a
$ svn commit
[Thu Mar 24 14:47:54 2005] [error] [client ::1] Could not DELETE
The http requests being sent are straightforward: we do a MKACTIVITY,
If: (<opaquelocktoken:7dc005f9-14f3-0310-bd42-8a5c1c1ed0de>)
I've stepped through the logic of dav_method_delete() in gdb, and I'm
1. dav_method_delete() calls dav_validate_request(), asking that
2. the If: header is parsed, and dav_validate_resource_state()
3. dav_validate_resource_state() is called on the parent
From here, it tries to compare parent-locks with the
So up till now, I've always thought of the 'If: (token)' header as a
But it seems like that's not the case at all: mod_dav treats the If:
In any case, assuming this is true... why on earth is mod_dav trying to
Can this problem be fixed by having libsvn_ra_dav send requests
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.