> I can be sneaky and work around this.  When the hook fails mod_dav_svn
> can cache the error, and then when rollback gets invoked the cached
> error can be returned even though rollback is otherwise a no-op.
> 
> What do people think?  I suppose the proper solution is to change
> mod_dav to return Subversion's error but then users would need to
> coordinate upgrades to both mod_dav_svn and mod_dav.

It probably wouldn't be either the first or the last time we've had to work
around mod_dav.  +1 from me so long as the *code* documents the reason for
the unexpected behavior -- you could simply port the wonderful explanation
from this email into a code comment, even.

-- 
C. Michael Pilato <cmpil...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to