public IEnumerable <ITFVCBranchObject> QueryRootBranchObjects(TFVCRecursionType recursion)
 {
     return(_versionControlServer.QueryRootBranchObjects((RecursionType)(int)recursion).Select(x => new BranchObjectWrapper(x)).ToList());
 }
Пример #2
0
 public ITFVCGetStatus Merge(string sourcePath, string targetPath, TFVCChangesetVersionSpec versionFrom, TFVCChangesetVersionSpec versionTo, TFVCLockLevel lockLevel, TFVCRecursionType recursion, TFVCMergeOptions mergeOptions)
 {
     return(new GetStatusWrapper(Workspace.Merge(sourcePath, targetPath, versionFrom.Convert(), versionTo.Convert(), (LockLevel)(int)lockLevel, (RecursionType)(int)recursion, (MergeOptions)(int)mergeOptions)));
 }
 public IEnumerable <ITFVCMergeCandidate> GetMergeCandidates(string sourcePath, string targetPath, TFVCRecursionType recursion)
 {
     return(_versionControlServer.GetMergeCandidates(sourcePath, targetPath, (RecursionType)(int)recursion).Select(x => new MergeCandidateWrapper(x)));
 }