我应该如何构造 versionControlServer QueryHistory 的参数以返回指定源位置的最早变更集?
也许,除了 QueryHistory 之外,还有其他方法吗?
查询返回 1 个结果的路径中的所有更改,从最低的更改集开始。 http://msdn.microsoft.com/en-us/library/ff736442(v=vs.100).aspx
versionControlService.QueryHistory(
path,
VersionSpec.Latest,
0,
RecursionType.Full, //look into all subfolders
null,
null, //version from - first
null, //version to - latest => all
1, //Return at maximum 1 item
boolIncludeChanges, // Include information on changes done
false,
boolIncludeDLInfo,
true //sort ascending - C1, C2, .. CLatest
)