private PendChangesToWorkspace ( string head, string parent, ITfsWorkspaceModifier workspace ) : void | ||
head | string | |
parent | string | |
workspace | ITfsWorkspaceModifier | |
return | void |
private void PendChangesToWorkspace(string head, string parent, ITfsWorkspaceModifier workspace)
{
using (var tidyWorkspace = new DirectoryTidier(workspace, () => GetLatestChangeset().GetFullTree()))
{
foreach (var change in Repository.GetChangedFiles(parent, head))
{
change.Apply(tidyWorkspace);
}
}
}