2
我有下面的代碼(在.NET控制檯應用程序測試):SharpSvn的GetInfo LastChangeRevision是錯誤的
var client = new SvnClient();
var previousRevisionUri = new SvnUriTarget("https://approvaltests.svn.sourceforge.net/svnroot/approvaltests/trunk/projects/ApprovalTests/DotNetApprovals/ApprovalUtilities/CallStack/Caller.cs", 480);
SvnInfoEventArgs previousRevisionInfo;
client.GetInfo(previousRevisionUri, out previousRevisionInfo);
Console.WriteLine(previousRevisionInfo.LastChangeRevision);
爲什麼我從previousRevisionInfo.LastChangeRevision
,當我們可以在這裏看到337輸出:http://approvaltests.svn.sourceforge.net/viewvc/approvaltests/trunk/projects/ApprovalTests/DotNetApprovals/ApprovalUtilities/CallStack/Caller.cs?view=log ,以前的修訂是384 ..?