Question

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..

Was it helpful?

Solution

You can't commit files without a working copy.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top