diff --git a/tfs/src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java b/tfs/src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java index 47f45597d..3d2908121 100644 --- a/tfs/src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java +++ b/tfs/src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java @@ -66,7 +66,7 @@ public Void call() throws Exception { final Workspace workspace = vcc.getWorkspace(workFolder); final VersionControlEventEngine eventEngine = vcc.getEventEngine(); eventEngine.addGetListener(this); - workspace.get(getVersionSpec, GetOptions.NONE); + workspace.get(getVersionSpec, GetOptions.OVERWRITE); eventEngine.removeGetListener(this); final String gotMessage = String.format(GotTemplate, versionSpecString, getCount);