1. Skin and chop the tomatoes coarsely and place in a saucepan.
2. Peel and chop the onions and add to the pan with the remaining ingredients.
3. Heat gently to dissolve the sugar then simmer until the mixture becomes thick, about 1-14 hours.
4. Put in warm clean jars, seal and label.