I would try to sweat the pipe and fill the hole with solder. Another option is to use liquid copper to fill the hole. None of these options are good for a pipe that is under pressure, but this pipe is only filled with water when you run the tub and even then there's relatively little pressure...