Well the thing is are you planning on replacing it with a new car or another used one?
You also need to look at what type of repair it is. Are you repairing your breaks, tires, or some other maintenance that has to be done on all cars or are you running into serious issues like transmission.
The exact number really depends on your finances and there is so many variables that just saying $XXXX is the cut off doesn't work..