I have a gas water heater and would like to replace the two flexible copper supply lines at the top of tank. I was wondering what I should do in advance of removing the supply lines to minimize the amount of water I'll have to deal with when I remove the lines to replace them. There is a cutoff valve for one of the lines and there's an expansion tank just beyond the connection for the other line.
Basically, my quesitons are these:
Do I need to turn off both the main water to the house and the cutoff at the top of the tank, or just one of them?
Do I need to drain the tank either partially or fully before removing the lines?
Do I need to worry about the pressure release valve?
Any tips you might provide would be greatly appreciated, including anything I should know when I turn the water back on after replacing the lines.
Thanks in advance for your help.