Put all the ingredients, except the salt and pepper, into a saucepan and bring to a boil. Reduce the heat and simmer, uncovered, until the onions are very tender, about 45 minutes. Most of the water should evaporate so that the mixture is moist but not swimming in liquid.
Add salt and pepper and taste for seasoning. Discard the bouquet garni and remove from the