Hindustan Petroleum Corp gained 3.6 percent, Bharat Petroleum Corp gained 2.47 percent, and Indian Oil Corp Ltd rose 0.65 percent.
Finance companies also gained on hopes the central bank may cut rates on September 17 if the government announces reform measures.
ICICI Bank gained 1.36 percent, while Housing Development Finance Corporation rose 2.27 percent.
The Sensex provisionally rose 0.52 percent. The Nifty ended up 0.5 percent.
Copyright Thomson Reuters 2012