Skip to content

Commit

Permalink
Merge pull request #431 from Microsoft/users/ersciple/m104scorch2
Browse files Browse the repository at this point in the history
Fix scorch.
  • Loading branch information
ericsciple authored Jul 21, 2016
2 parents d99a96a + df35ceb commit 0b2a9c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/Agent.Worker/Build/TFCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public string ResolvePath(string serverPath)
return localPath?.Trim() ?? string.Empty;
}

public async Task ScorchAsync() => await RunCommandAsync(FormatFlags.OmitCollectionUrl, "vc", "scorch", "/diff", "/recursive", "/unmapped", SourcesDirectory);
public async Task ScorchAsync() => await RunCommandAsync(FormatFlags.OmitCollectionUrl, "vc", "scorch", "/diff", "/recursive", "/unmapped", "*");

public async Task ShelveAsync(string shelveset, string commentFile)
{
Expand Down
3 changes: 0 additions & 3 deletions src/Agent.Worker/Build/TfsVCSourceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ public async Task GetSourceAsync(
{
// Scorch failed.
// Warn, drop the folder, and re-clone.
// TODO: Fix tf.exe scorch and remove this catch handler. This catch handler was
// added because scorch fails to interpret the workspace when a root mapping
// does not exist.
executionContext.Warning(ex.Message);
existingTFWorkspace = null;
}
Expand Down

0 comments on commit 0b2a9c1

Please sign in to comment.