Officially, damaged sails may not be repaired.
Everything else is house rules.
I am currently in the process of writing or summarizing a few house rules for a slightly different handling of claims.