Prepare the pastry shells according to the package directions.
Heat the oil in a 10-inch skillet over medium-high heat. Add the mushrooms, garlic, rosemary and thyme. Cook until the mushrooms are tender, stirring often.
Stir the wine and vinegar in the skillet. Cook until the liquid is reduced by half. Stir in the soup and milk and heat to a boil. Stir in the parsley.
Spoon the mushroom mixture into the pastry shells. Serve immediately.