In a medium pot, heat the oil over medium heat. Add the onions, garlic, salt, basil, oregano, and pepper, and cook, stirring, until soft, about 5 minutes. Add the tomatoes, tomato sauce, tomato paste, water, and sugar and stir well. Bring to a simmer over medium-high heat. Lower the heat to medium-low and simmer, uncovered, until thickened and fragrant, 25 to 30 minutes, stirring occasionally.
Remove from the heat and keep warm until ready to use.
Yield: 3 cups