Paul Burba <ptbu...@gmail.com> writes: > Do "DAV clients sometimes LOCK non-existent paths, as a way of > reserving names"? I'm not sure exactly what that means, does anyone > have an inkling?
In subversion/mod_dav_svn/lock.c:append_locks the code does a PUT of a 0-byte file when an attempt is made to lock a non-existant file. You need SVNAutoversioning enabled and you need to be using a non-Subversion client. It is possible to trigger this using cadaver: $ svnadmin create repo $ ln -sf /bin/true repo/hooks/pre-lock $ cadaver http://localhost:8888/obj/repo dav:/obj/repo/> lock f Locking `f': succeeded. dav:/obj/repo/> quit $ svnlook tree repo / f -- Philip