It means to repair a broken relationship.

popraviti odnos, izgladiti nesuglasice, pomiriti se

 

After years without talking, Mia called her sister to try to mend fences.

The two classmates had not spoken since their argument, but they both wanted to mend fences before the school trip.

The manager invited the unhappy worker for a coffee to mend fences and talk things over.