return new CheckOutScmResult( command.getCommandString(),
"Error code for TFS checkout (workfold map) command - " + status,
err.getOutput(), false );
}
}
FileListConsumer fileConsumer = new FileListConsumer();
err = new ErrorStreamConsumer();
command = createGetCommand( r, f, v, recursive );
status = command.execute( fileConsumer, err );
if ( status != 0 || err.hasBeenFed() )
{
return new CheckOutScmResult( command.getCommandString(), "Error code for TFS checkout (get) command - "
+ status, err.getOutput(), false );
}
return new CheckOutScmResult( command.getCommandString(), fileConsumer.getFiles() );
}