Implement a remote helper for svn in C