开发者

Commit file in SVN without working copy using SVN uri path

开发者 https://www.devze.com 2023-02-05 20:30 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消