aro*_*ron 4 c# svn tortoisesvn
我正在寻找一个简单的C#脚本,它将导出一个SVN文件夹.
注意:我在这个Win 2008 r2服务器上安装了tovise svn.
谢谢你的帮助!
例:
//SVN: 
string source = c:\project\websiteFiles\
//Export to:
string target = c:\inetpub\hockeyWebsite\
ExportSVNfolder(source, target)
{
// export the files
// wait till export is 100% complete
// return
}
使用SharpSvn的SvnClient导出方法非常简单:
SharpSvn.SvnClient svnclient = new SvnClient();
svnclient.Export(new SvnUriTarget(source),
    target, new SvnExportArgs());