How can I find changesets in Branch A that were not merged to branch B programmatically. This what Merge Window does in TFS client GUI but I need to programmatically get the list of changesets.
Say I have Microsoft.TeamFoundation.VersionControl.Client.Workspace
reference.
You probably want the VersionControlServer.GetMergeCandidates() method. This gets the candidates for merging between two paths.
public MergeCandidate[] GetMergeCandidates(
string sourcePath,
string targetPath,
RecursionType recursion
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.