I'm new to SharpSVN, i have a aspx page in which i need to display a file content from SVN, change the content 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..

有帮助吗?

解决方案

You can't commit files without a working copy.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top