2

我有以下代码(在 .NET 控制台应用程序中进行测试):

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

4

1 回答 1

1

在修订版 384 中,父目录已更改,但文件本身并未更改。

ViewVC 将此显示为节点历史记录的更改,而节点本身并未更改。

看着 r384:

Directory: trunk/projects/ApprovalTests/DotNetApprovals/ApprovalUtilities/ added
(Copied from trunk/projects/ApprovalTests/DotNetApprovals/SimpleLogger, r383)

Directory: trunk/projects/ApprovalTests/DotNetApprovals/SimpleLogger/  deleted  

http://approvaltests.svn.sourceforge.net/viewvc/approvaltests?view=revision&revision=384

于 2012-10-18T10:09:29.453 回答