node.js - Is it possible to svn checkout in a database -


I am writing a small webpage, which allows users to browse through a visual SVN server. I would like to add an online editor like Gitub to this webpath so that users can edit the file online, leave a message and appear in the repository.

For this, I need to check out the files locally. I thought that they should be checked in a monod, so I can save the copy per user as a local work copy.

Is there a way to create a checkout in a database (without re-implementing the svn protocol) or even just memory and then write it into the database.

If there are any questions, just ask :)

Btw If there is any interest, then this code is

svn checkout directly from the database but there are some options.

First of all, you can simplify the virtual disk which remains in memory and checkouts in that disk. You can store files checked files in the database.

Another option is to use the Rich Subversion API directly. Please note that the subclass has been written in C, so you need to have node.JS and SVN (As far as I can remember, node there. There is no official subversion binding for JS, but for Python and Java and there is non-official package available for Node.js) you can apply your own 'in-database' working copy using the API Are

In addition to this you can use the svnmucc utility (which has been sent with the VisualSVN server). If you combine it with svn ls , svn info etc., you can edit repository browsing and editing files (without even making a working copy).

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -