All partition fences shall be kept in good repair throughout the year, unless the owners of the land on both sides otherwise agree.