The simple way of differentiating between repairs and capital improvements is to ask yourself:
Are you going to "make good" the fence, or are you going to "improve" the fence.
To make good you would be taking existing material (with some replacement as necessary) and getting back to the...