Пример #1
0
 private long Checkin(string head, string parent, ITfsWorkspace workspace, CheckinOptions options, string sourceTfsPath)
 {
     PendChangesToWorkspace(head, parent, workspace);
     if (!string.IsNullOrWhiteSpace(sourceTfsPath))
     {
         workspace.Merge(sourceTfsPath, TfsRepositoryPath);
     }
     return(workspace.Checkin(options));
 }
Пример #2
0
 private long Checkin(string head, string parent, ITfsWorkspace workspace)
 {
     PendChangesToWorkspace(head, parent, workspace);
     return workspace.Checkin();
 }
Пример #3
0
 private int Checkin(string head, string parent, ITfsWorkspace workspace, CheckinOptions options, string sourceTfsPath)
 {
     PendChangesToWorkspace(head, parent, workspace);
     if (!string.IsNullOrWhiteSpace(sourceTfsPath))
         workspace.Merge(sourceTfsPath, TfsRepositoryPath);
     return workspace.Checkin(options);
 }
Пример #4
0
 private long Checkin(string head, TfsChangesetInfo parentChangeset, ITfsWorkspace workspace)
 {
     PendChangesToWorkspace(head, parentChangeset, workspace);
     return(workspace.Checkin());
 }
Пример #5
0
 private long Checkin(string head, string parent, ITfsWorkspace workspace, CheckinOptions options)
 {
     PendChangesToWorkspace(head, parent, workspace);
     return(workspace.Checkin(options));
 }
Пример #6
0
 private long Checkin(string head, TfsChangesetInfo parentChangeset, ITfsWorkspace workspace)
 {
     foreach (var change in Repository.GetChangedFiles(parentChangeset.GitCommit, head))
     {
         change.Apply(workspace);
     }
     return workspace.Checkin();
 }