private static IEnumerable GetMergeHistory(VersionControlServer vcs, MergeSource ms)
        {
            var changesetVersionSpec = new ChangesetVersionSpec(ms.VersionFrom);
            var versionTo            = new ChangesetVersionSpec(ms.VersionTo);

            return(vcs.QueryHistory(
                       ms.ServerItem,
                       changesetVersionSpec,
                       0,
                       RecursionType.Full,
                       null,
                       changesetVersionSpec,
                       versionTo,
                       2147483647,
                       true,
                       true));
        }
예제 #2
0
 public MergeSource(tfs.MergeSource mergeSource)
 {
     _mergeSource = mergeSource;
 }
        private static IEnumerable GetMergeHistory(VersionControlServer vcs, MergeSource ms)
        {
            var changesetVersionSpec = new ChangesetVersionSpec(ms.VersionFrom);
            var versionTo = new ChangesetVersionSpec(ms.VersionTo);

            return vcs.QueryHistory(
                ms.ServerItem,
                changesetVersionSpec,
                0,
                RecursionType.Full,
                null,
                changesetVersionSpec,
                versionTo,
                2147483647,
                true,
                true);
        }