I'm new to SharpSVN, i have a aspx page in which i need to display a file content from SVN, change the conten开发者_如何学运维t and commit the file in SVN from memorystream without working copy. I am able to get the file content using memorystream and display in web page, but is there any way to commit content from web page using SVN uri path?
thanks in advance..
It is possible, you can using the svnmucc command line tool
svnmucc put path-to-source path-to-remote
This won't let you use streams, but you could look at the source of the tool to write something that worked off streams.
You can commit using Subversion remote API. Here's the example for Java language, but the same API is used in other languages (C, Perl, ...).
Streams allowed with svnmucc -- put - path-to-remote
.
You can't commit files without a working copy.
精彩评论