The patch has bitrotted significantly, so I've built another version which applies against HEAD and includes test cases (and updated the bug at http://subversion.tigris.org/issues/show_bug.cgi?id=2758). Anything I can do to help get this in before it bitrots again?