Javascript SVN wrapper

Matthieu Napoli picture Matthieu Napoli · Dec 14, 2011 · Viewed 7.4k times · Source

Is there any Javascript library that enables to read and commit files to a Subversion server?

The server could be using the svn:// protocol or the http:// (dav_svn) protocol. If one is more convenient that's ok, though a library that could handle both type is better.

I would like to avoid having to create a local working copy of the repository (is that even possible to checkout a repository in Javascript :p...).

Anyone sees a solution? I've been looking around but didn't find anything.

Answer

TimWolla picture TimWolla · Dec 22, 2011

I don't know a really ready solution, but maybe this: https://github.com/sara-nl/js-webdav-client could help. Thats a WebDAV-Client written in JS and with this it should be possible do checkout SVN as well.

Otherwise you will have to implement WebDAV by yourself. You can find the specification here: http://webdav.org/specs/