1
使用sharpsvn我想搜索我們svn服務器中提交的文件的所有評論爲特定的字符串。sharpsvn搜索存儲庫提交
但我不能得到這個工作。我嘗試了以下方法,但它不喜歡我的目標路徑。
Error: Revision type requires a working copy path, not a URL
SvnRevisionRange range = new SvnRevisionRange(SvnRevision.Working, SvnRevision.Zero);
string targetPath = "http://********:81/svn/";
Collection<SvnLogEventArgs> items;
SvnLogArgs args = new SvnLogArgs { Range = range };
client.GetLog(new Uri(targetPath), args, out items);
任何想法將是巨大的