The like proceedings may be had in cases where partition fences are rebuilt or repaired by either of the joint proprietors, the jury of view being judges, in the first instance, of the necessity or advisability of the improvement.