If, upon the trial of an indictment or action brought to recover damages for an injury received by reason of a defect or want of repair or want of sufficient railing in any way, it appears that the defendant has, within six years before such injury, made repairs on such way, it or he shall not deny the location thereof.
Mass. Gen. Laws ch. 84, § 25